getAddThisInterests

get

/ccadmin/v1/addThisInterests

Get AddThis interest suggestions for autocomplete clients. The latest interests can be found at https://www.addthis.com/interestsMap.json.

Request

Supported Media Types
Query Parameters
  • This controls which fields are returned in the response body. The default is to return all fields: id, displayName and rank.
  • This is the field to specify the number of records to be fetched per REST call. This number should be small so results fit in an autocomplete suggestions box.
  • This field specifies the SCIM compliant query used to filter addThisInterests. While not technically required, this endpoint is meant to be used with the co operator like q=displayName co "fish".
  • This field specifies the sort order of the list to be fetched. We recommend using the rank field, e.g. sort=rank:desc
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

The following model is returned when operation succeeds.
Body ()
Root Schema : getAddThisInterests_response
Type: object
Show Source
Nested Schema : items
Type: array
The returned list of items.
Show Source
Nested Schema : sort
Type: array
The sort used for the returned addThisInterests.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "q":"displayName co \"fish\"",
    "totalResults":-1,
    "offset":0,
    "limit":5,
    "sort":[
        {
            "property":"displayName",
            "order":"asc"
        }
    ],
    "items":[
        {
            "size":"Medium",
            "displayName":"Lifestyle & Activity, Outdoors, Fishing",
            "id":586
        },
        {
            "size":"Small",
            "displayName":"Lifestyle & Activity, Pets, Fish",
            "id":730
        }
    ]
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |54083|An error occurred accessing addThisInterests with query {0}.| |85003|Invalid attribute in query: {}| |85000|q query param is not valid SCIM filter format|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top