Excerpt |
---|
Search items from a Squirro project. |
Items are added to projects through subscriptions.
...
Returns a selection of items from the project. The items be filtered with a query and other parameters.
Parameters: |
| |||||||
---|---|---|---|---|---|---|---|---|
JSON Data: | Data is passed in as a JSON object. Valid object keys:
| |||||||
Headers: | See Common Headers. | |||||||
Status Codes: |
See also Common Status Codes. | |||||||
Returns: | Results including some pagination information. Response fields:
|
Encrypted Query
GET/POST https://squirro-endpoint/api/topic/v0/(string: tenant)/projects/(id: project_id)/items/query_encryption
Returns the encrypted and signed version of the query and other query parameters. This encrypted query can then be used with the `Query Items` endpoint using `encrypted_query` parameter to get items matching the encrypted query.
Parameters: |
| |||||||
---|---|---|---|---|---|---|---|---|
JSON Data: | Data is passed in as a JSON object. Valid object keys:
Example request body:
| |||||||
Headers: | See Common Headers. | |||||||
Status Codes: |
See also Common Status Codes. | |||||||
Returns: | Response fields:
|
List Items (deprecated)
GET https://squirro-endpoint/api/topic/v0/(string: tenant)/projects/(id: project_id)/items
...
Parameters: |
|
---|---|
Headers: | See Common Headers. |
Status Codes: |
See also Common Status Codes. |
Recommend items
GET/POST https://squirro-endpoint/api/topic/v0/(string: tenant)/projects/(id: project_id)/items/recommend
Returns a recommendation of items from the project given an item id or text.
Parameters: |
| |
---|---|---|
JSON Data: | Data is passed in as a JSON object. Valid object keys:
| |
Headers: | See Common Headers. | |
Status Codes: |
See also Common Status Codes. | |
Returns: | Results. Response fields:
|
Recommendation methods
GET https://squirro-endpoint/api/topic/v0/(string: tenant)/projects/(id: project_id)/items/recommend/methods
Returns the supported recommendation methods for items from the project.
Parameters: |
| |
---|---|---|
Headers: | See Common Headers. | |
Status Codes: |
See also Common Status Codes. | |
Returns: | Method names. Response fields:
|