Get Attributes

Get all attributes for a trafficType. Non-paginated operation is deprecated, prefer setting the paginate flag to true. When using pagination, the default markerLimit is 50, maximum markerLimit is 200.

Pagination examples:

  • Page Forward: Send Next Marker into After Marker parameter
  • Reload Page (when paging forward): Send Previous Marker into After Marker parameter
  • Page Backwards: Send Previous Marker into Before Marker parameter
  • Reload Page (when paging backwards): Send Next Marker into Before Marker parameter

Access requirements

The Authorization Bearer (Admin API Key authorizing the request) must have one of the following roles and scopes:

Admin API Key roles accepted

  • API_ALL_GRANTED
  • API_ADMIN
  • API_WORKSPACE_ADMIN

Admin API Key scopes accepted

  • GLOBAL
  • WORKSPACE

To learn more about Admin API Key roles and scopes, see API keys overview.


Path Params
string
required

The ID of the traffic type to fetch attributes from

string
required

The id of the project (workspace) you want attributes from

Query Params
boolean
Defaults to false

Whether to paginate the response.

string

Search prefix under which to look for attributes (ex. att returns attribute1, but not myAttribute). Search is case insensitive, and only available with pagination.

string

Get results 'After' the marker passed into this parameter. Only available with pagination. Markers are obfuscated strings by design.

string

Get results 'Before' the marker passed into this parameter. Only available with pagination. Markers are obfuscated strings by design.

int32
Defaults to 50

Limit the number of return objects. If nothing or something invalid is given, then this will be the default markerLimit for the query. If something greater than the maximum limit is passed in, this will be the maximum allowed markerLimit for this query.

Headers
string
Defaults to Bearer ADMIN_API_KEY
Responses

Language
Request
Choose an example:
application/json