Annotations API
​string · required​integer · int32​integer · uint32​string​string​integer · uint64
​string​string​string​string
​string · required​string · required​integer · uint64
Bindings
Manage bindings.
List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID.
GET
https://api.scaleway.com
/annotations/v1/bindings
query Parameters
organization_idID of the organization. (UUID format)
pagePage number.
page_sizeMaximum number of bindings on the page.
srnScaleway Resource Name for which to list all bindings.
value_idValue ID for which to list all bindings. (UUID format)
List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID. › Responses
200
List of bindings for the organization. Response order by ID.
total_countTotal number of bindings returned.
Attach a value to a resource. Fails if the resource already has a value for this key.
POST
https://api.scaleway.com
/annotations/v1/bindings
Attach a value to a resource. Fails if the resource already has a value for this key. › Request Body
srnScaleway Resource Name to associate.
value_idID of the value to associate. (UUID format)
Attach a value to a resource. Fails if the resource already has a value for this key. › Responses
200
idID of the binding. (UUID format)
srnScaleway Resource Name associated to the binding.
Key associated to the binding.
Value associated to the binding.
Delete ALL bindings associated with a Scaleway Resource Name.
DELETE
https://api.scaleway.com
/annotations/v1/bindings/delete-all-matching-srn
query Parameters
srnScaleway Resource Name for which all bindings should be deleted.
organization_idID of the organization. (UUID format)
Delete ALL bindings associated with a Scaleway Resource Name. › Responses
200
total_deletedTotal number of bindings deleted.
Delete ALL bindings associated with a value.
DELETE
https://api.scaleway.com
/annotations/v1/bindings/delete-all-matching-value