...
Note: The profiles are private to the current user.
URLs
(GET) /api/resources/segments/view/search
(GET) /api/resources/segments/view/search/{id}
(POST) /api/resources/segments/view/search
ACTIONS
The following API calls let you retrieve profiles, update, add and delete profiles.
...
Get all profiles | (GET) /api/resources/segments/view/search/profiles Returns a list of all search profiles with id and name. Example:
| ||
Get profile details | (GET) /api/resources/segments/view/search/profiles/{id} Parameter id is the profile you want to retrieve. This returns your query node. The data property is the query object for use in API call resources/segments/search.
You receive an error if the requested profile does not exist. | ||
Update profile | (POST) /api/resources/segments/view/search/profiles Include a JSON in the body with these parameters:
Example of a body message to update name and data:
The method returns the updated profile, see the "Get profile details" description. You receive an error if the requested profile does not exist. | ||
Add profile | (POST) /api/resources/segments/view/search/profiles Include a JSON in the body with these parameters:
Example of a body message to update name and data:
The method returns the updated profile, see the "Get profile details" description. | ||
Delete profile | (POST) /api/resources/segments/view/search/profiles Include a JSON in the body with these parameters:
Example of a body message to update name and data:
The method returns no data. No error is returned If the id does not exist. |
...