View Category


                https://api.ocamba.com/v2/adex/categories/{id}
            

Retrieves the details of a Category if a valid identifier was provided


Name
Description
idstringrequired
Category id.


Example: IAB1

Name
Description
fieldsstring
The client can request more efficient filtered representation of the resource showing only specific field(s), using the “fields” query parameter. Note that the “fields” parameter has precedence over the “view” parameter.

Example GET /VERSION/adex/RESOURCE_NAME?fields=id,name

See "Tips" for the list of filterable parameters.


Example: fields=field1,field2,field3

viewstring
Adex API returns full representation of the resource using the “view=full” query parameter. If not specified, the default view will be used.

Note that the “fields” parameter has precedence over the “view” parameter.


Example: view=full/default


200 - OK
Arrow
Name
Description
items[ category ]
An array of all created items.
Category
Name
Description
idstring
Category id.


Example: IAB1-1

namestring
Name of the category.


Example: Arts & Entertainment

parent_idstring
Category parent id.


Example: IAB1

totalinteger
A total number of items.


Example: 1
tip
1 If you don't know the category id, list the categories to find it.
200 Arrow
{
  "total": 1,
  "items": [
    {
      "id": "IAB1-1",
      "name": "Arts & Entertainment",
      "parent_id": "IAB1"
    }
  ]
}