We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation forPOST_api_objects_search has not been published.
POST_api_objects_search
Their are two required values:
type
mine | prefix | bco_id
search
mine
prefix
bco_id
An example of what you need to run is the following:
shell
curl -X POST "http://localhost:8000/api/objects/search/" -H "accept: application/json" -H "Authorization: Token c400a6076a2dfe7e9906ab86c6ad4574d1d60e03" -H "Content-Type: application/json" -d "{\"POST_api_objects_search\":[{\"type\": \"prefix\",\"search\": \"TEST\"}]}"
javascript
axios.post("http://localhost:8000/api/objects/search/", { "POST_api_objects_search":[ { "type": "prefix", "search": "TEST" } ] }, { headers: { "Authorization": "Token c400a6076a2dfe7e9906ab86c6ad4574d1d60e03, "Content-Type": "application/json" } });
Originally posted by @HadleyKing in #153 (comment)
The text was updated successfully, but these errors were encountered:
Fix #154
30d981c
Changes to be committed: modified: api/views.py
520a7d3
HadleyKing
tiwa1154
No branches or pull requests
Documentation for
POST_api_objects_search
has not been published.Their are two required values:
type
: can be one of 3 different values =>mine | prefix | bco_id
search
:mine
search as that is for "My BCOs"prefix
it should be the name of the prefix.bco_id
it should be some substring that is present in the desiredbco_id
or SET ofbco_id
sAn example of what you need to run is the following:
shell
:javascript
:Originally posted by @HadleyKing in #153 (comment)
The text was updated successfully, but these errors were encountered: