Skip to content
Esc
↑↓navigate↵open⌘Jpreview

List attributes for an application

Retrieves a paginated list of attributes for a given application ID. Supports filtering by template key and searching by attribute name.

GET/api/v1/{app_id}/attributes
Path parameters
app_idstringrequired

Application ID

Query parameters
pageinteger

Page number for pagination

default: 1
per_pageinteger

Number of items per page

default: 10
template_keystring

Filter by attribute template key

searchstring

Search term for attribute name

Responses
200

A paginated list of attributes

itemsAttributeResponse[] | null
Show properties
Array of AttributeResponse
descriptionstring
idstring
keystring
namestring
template_keystring
translationsAttributeTranslationsResponse
Show properties
descriptionobject
nameobject
valuesobject
pageinteger
page_sizeinteger
total_itemsinteger
total_pagesinteger
400

Invalid request parameters

codeStatus
Allowed:201403401500404400409
detailsstring[] | null
extra_fieldsobject
messagestring
500

Internal server error

codeStatus
Allowed:201403401500404400409
detailsstring[] | null
extra_fieldsobject
messagestring
Try it
Server
Parameters
Request
curl -X GET '//customers.enad.io/api/v1/string/attributes' \
  -H 'Accept: application/json'
Response
{
  "items": [
    {
      "description": "string",
      "id": "string",
      "key": "string",
      "name": "string",
      "template_key": "string",
      "translations": {
        "description": {
          "property1": "string",
          "property2": "string"
        },
        "name": {
          "property1": "string",
          "property2": "string"
        }
      },
      "values": {
        "property1": [
          {
            "translations": {
              "value": {
                "property1": "string",
                "property2": "string"
              }
            },
            "type": "string",
            "value": "string"
          }
        ],
        "property2": [
          {
            "translations": {
              "value": {
                "property1": "string",
                "property2": "string"
              }
            },
            "type": "string",
            "value": "string"
          }
        ]
      }
    }
  ],
  "page": 0,
  "page_size": 0,
  "total_items": 0,
  "total_pages": 0
}