Scaleway logo
Topics and Events API

Topics and Events provides a notification service. It must be activated per Project before being used


Activate Topics and Events

POST
https://api.scaleway.com
/mnq/v1beta1/regions/{region}/activate-sns

Activate Topics and Events for the specified Project ID. Topics and Events must be activated before any usage. Activating Topics and Events does not trigger any billing, and you can deactivate at any time.

Activate Topics and Events › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
nl-ams

Activate Topics and Events › Request Body

project_id
​string

Project on which to activate the Topics and Events service.

Activate Topics and Events › Responses

200
project_id
​string

Project ID of the Project containing the service.

region
​string

Region of the service.

created_at
​string | null · date-time

Topics and Events creation date. (RFC 3339 format)

updated_at
​string | null · date-time

Topics and Events last modification date. (RFC 3339 format)

Topics and Events activation status.

Enum values:
unknown_status
enabled
disabled
Default: unknown_status
sns_endpoint_url
​string

Endpoint of the Topics and Events service for this region and project.


Deactivate Topics and Events

POST
https://api.scaleway.com
/mnq/v1beta1/regions/{region}/deactivate-sns

Deactivate Topics and Events for the specified Project ID. You must delete all topics and credentials before this call or you need to set the force_delete parameter.

Deactivate Topics and Events › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
nl-ams

Deactivate Topics and Events › Request Body

project_id
​string

Project on which to deactivate the Topics and Events service.

Deactivate Topics and Events › Responses

200
project_id
​string

Project ID of the Project containing the service.

region
​string

Region of the service.

created_at
​string | null · date-time

Topics and Events creation date. (RFC 3339 format)

updated_at
​string | null · date-time

Topics and Events last modification date. (RFC 3339 format)

Topics and Events activation status.

Enum values:
unknown_status
enabled
disabled
Default: unknown_status
sns_endpoint_url
​string

Endpoint of the Topics and Events service for this region and project.


Get Topics and Events info

GET
https://api.scaleway.com
/mnq/v1beta1/regions/{region}/sns-info

Retrieve the Topics and Events information of the specified Project ID. information include the activation status and the Topics and Events API endpoint URL.

Get Topics and Events info › path Parameters

region
​string · enum · required

The region you want to target

Enum values:
fr-par
nl-ams

Get Topics and Events info › query Parameters

project_id
​string · required

Project to retrieve Topics and Events info from.

Get Topics and Events info › Responses

200
project_id
​string

Project ID of the Project containing the service.

region
​string

Region of the service.

created_at
​string | null · date-time

Topics and Events creation date. (RFC 3339 format)

updated_at
​string | null · date-time

Topics and Events last modification date. (RFC 3339 format)

Topics and Events activation status.

Enum values:
unknown_status
enabled
disabled
Default: unknown_status
sns_endpoint_url
​string

Endpoint of the Topics and Events service for this region and project.