Attributes

Soda Cloud API Attribute Endpoints

List attributes

get
/api/v1/attributes

This endpoint enables you to list the attributes available in your organization's Soda Cloud account.

Optionally filter by resource type using the resourceType query parameter.

This GET is a paginated API that uses the following parameters to request specific details:

  • size: Supply an integer value between 10 and 1000, inclusive. The default value is 1000.

  • page: Supply an integer value. The default value is 0.

  • resourceType: Optional. Filter by resource type (dataset or check).

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Any Soda Cloud user in your organization may execute this query.

Tags

Attributes

Rate limiting

60 requests/60 seconds

Authorizations
AuthorizationstringRequired
Query parameters
pageinteger · int32Optional
resourceTypeobject · enumOptionalPossible values:
sizeinteger · int32Optional
Responses
chevron-right
200

Successful response

application/json
firstbooleanRequired
lastbooleanRequired
numberinteger · int32Required
sizeinteger · int32Required
totalElementsinteger · int32Required
totalPagesinteger · int32Required
get
/api/v1/attributes

Create an attribute

post
/api/v1/attributes

This endpoint enables you to create a new attribute in your organization's Soda Cloud account.

Attributes are scoped to a resource type (dataset or check). Once an attribute is created, it can be set on the associated resource type. Attributes can be used to configure notification rules, dashboards, filters, etc. For example sending email alerts when checks marked as critical fail.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_ATTRIBUTES to execute this call.

Tags

Attributes

Rate limiting

100 requests/60 seconds

Authorizations
AuthorizationstringRequired
Body
allowedValuesstring[]Optional
descriptionstringOptional
labelstringRequired
namestringRequired
resourceTypeobject · enumRequiredPossible values:
typeobject · enumRequiredPossible values:
Responses
chevron-right
200

Successful response

application/json
post
/api/v1/attributes

Update an attribute

post
/api/v1/attributes/{attributeId}

This endpoint enables you to update an existing attribute in your organization's Soda Cloud account.

Only label, description, and allowedValues (for select types) can be updated.

When updating allowedValues, existing attribute values on resources are left in place, even if they are no longer in the allowed set.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_ATTRIBUTES to execute this call.

Tags

Attributes

Rate limiting

100 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
attributeIdstringRequired
Body
allowedValuesstring[]Optional
descriptionstringOptional
labelstringOptional
Responses
chevron-right
200

Successful response

application/json
post
/api/v1/attributes/{attributeId}

Delete an attribute

delete
/api/v1/attributes/{attributeId}

This endpoint enables you to delete an existing attribute from your organization's Soda Cloud account.

The attribute will be removed from any resources where it is set.

Authentication

User authentication required: true

This endpoint accepts authentication via API keys in the Basic authentication header, or a pre-authenticated token in HTTP cookie token. Cookie sessions extend automatically on each request.

Authorization

Users must have global role permission MANAGE_ATTRIBUTES to execute this call.

Tags

Attributes

Rate limiting

100 requests/60 seconds

Authorizations
AuthorizationstringRequired
Path parameters
attributeIdstringRequired
Responses
chevron-right
200

Successful response

application/json
messagestringRequired
delete
/api/v1/attributes/{attributeId}

Last updated

Was this helpful?