curl --location --request GET 'https://api.stateset.com/v1/attributes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00",
"type": "System attribute",
"name": "attribute 1",
"description": "This is the attribute",
"created_at": "2023-11-28T00:00:00.000000Z",
"updated_at": "2023-11-28T00:00:00.000000Z"
}
This endpoint gets all attributes
curl --location --request GET 'https://api.stateset.com/v1/attributes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00",
"type": "System attribute",
"name": "attribute 1",
"description": "This is the attribute",
"created_at": "2023-11-28T00:00:00.000000Z",
"updated_at": "2023-11-28T00:00:00.000000Z"
}
curl --location --request GET 'https://api.stateset.com/v1/attributes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"id": "2438cf38-4004-41d3-8c90-131735ff7d00",
"type": "System attribute",
"name": "attribute 1",
"description": "This is the attribute",
"created_at": "2023-11-28T00:00:00.000000Z",
"updated_at": "2023-11-28T00:00:00.000000Z"
}