Enrichments are added to projects to change how incoming items are processed. |
GET https://topic-api.squirro.com/v0/(string: tenant)/projects/(id: project_id)/enrichments
Returns an array of all enrichments in the project.
Parameters: |
|
|
---|---|---|
Headers: |
See Common Headers. |
|
Status Codes: |
See also Common Status Codes. |
|
Returns: |
Array of enrichments.
|
POST https://topic-api.squirro.com/v0/(string: tenant)/projects/(id: project_id)/enrichments
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: |
Created enrichments.
|
GET https://topic-api.squirro.com/v0/(string: tenant)/projects/(id: project_id)/enrichments/(id: enrichment_id)
Parameters: |
|
|
---|---|---|
Headers: |
See Common Headers. |
|
Status Codes: |
See also Common Status Codes. |
|
Returns: |
Enrichment.
|
PUT https://topic-api.squirro.com/v0/(string: tenant)/projects/(id: project_id)/enrichments/(id: enrichment_id)
Parameters: |
|
|
---|---|---|
JSON Data: |
Data is passed in as a JSON object. Takes the same input as the Create Enrichment resource. |
|
Headers: | See Common Headers. | |
Status Codes: |
See also Common Status Codes. |
|
Returns: |
The updated enrichment.
|
DELETE https://topic-api.squirro.com/v0/(string: tenant)/projects/(id: project_id)/enrichments/(id: enrichment_id)
Parameters: |
|
---|---|
Headers: |
See Common Headers. |
Status Codes: |
See also Common Status Codes. |