Scaleway logo
Edge Services API

A backend stage is part of a pipeline. It defines the source of the content that Edge Services will serve to clients. It could be either a Scaleway Object StorageOpen in new context bucket ("S3"), a Scaleway Load BalancerOpen in new context, a Scaleway Serverless ContainerOpen in new context or a Scaleway Serverless FunctionOpen in new context.


Get backend stage

GET
https://api.scaleway.com
/edge-services/v1beta1/backend-stages/{backend_stage_id}

Retrieve information about an existing backend stage, specified by its backend_stage_id. Its full details are returned in the response object.

Get backend stage › path Parameters

backend_stage_id
​string · required

ID of the requested backend stage.

Get backend stage › Responses

200
id
​string

ID of the backend stage.

pipeline_id
​string

Pipeline ID the backend stage belongs to.

status
​scaleway.edge_services.v1beta1.StageStatus · enum

Current status of the stage.

Enum values:
unknown_status
inactive
active
Default: unknown_status
created_at
​string | null · date-time

Date the backend stage was created. (RFC 3339 format)

updated_at
​string | null · date-time

Date the backend stage was last updated. (RFC 3339 format)

​

Scaleway Object Storage origin bucket (S3) linked to the backend stage.

​

Scaleway Load Balancer origin linked to the backend stage.

​

Scaleway Serverless container origin linked to the backend stage.

​

Scaleway Serverless function origin linked to the backend stage.


Update backend stage

PATCH
https://api.scaleway.com
/edge-services/v1beta1/backend-stages/{backend_stage_id}

Update the parameters of an existing backend stage, specified by its backend_stage_id.

Update backend stage › path Parameters

backend_stage_id
​string · required

ID of the backend stage to update.

Update backend stage › Request Body

​

Scaleway Object Storage origin bucket (S3) linked to the backend stage.

​

Scaleway Load Balancer origin linked to the backend stage.

​

Scaleway Serverless container origin linked to the backend stage.

​

Scaleway Serverless function origin linked to the backend stage.

pipeline_id
​string

Pipeline ID the Backend stage belongs to.

Update backend stage › Responses

200
id
​string

ID of the backend stage.

pipeline_id
​string

Pipeline ID the backend stage belongs to.

status
​scaleway.edge_services.v1beta1.StageStatus · enum

Current status of the stage.

Enum values:
unknown_status
inactive
active
Default: unknown_status
created_at
​string | null · date-time

Date the backend stage was created. (RFC 3339 format)

updated_at
​string | null · date-time

Date the backend stage was last updated. (RFC 3339 format)

​

Scaleway Object Storage origin bucket (S3) linked to the backend stage.

​

Scaleway Load Balancer origin linked to the backend stage.

​

Scaleway Serverless container origin linked to the backend stage.

​

Scaleway Serverless function origin linked to the backend stage.


Delete backend stage

DELETE
https://api.scaleway.com
/edge-services/v1beta1/backend-stages/{backend_stage_id}

Delete an existing backend stage, specified by its backend_stage_id. Deleting a backend stage is permanent, and cannot be undone.

Delete backend stage › path Parameters

backend_stage_id
​string · required

ID of the backend stage to delete.

Delete backend stage › Responses

No data returned

List backend stages

GET
https://api.scaleway.com
/edge-services/v1beta1/pipelines/{pipeline_id}/backend-stages

List all backend stages, for a Scaleway Organization or Scaleway Project. By default, the backend stages returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.

List backend stages › path Parameters

pipeline_id
​string · required

Pipeline ID to filter for. Only backend stages from this pipeline will be returned.

List backend stages › query Parameters

Sort order of backend stages in the response.

Enum values:
created_at_asc
created_at_desc
Default: created_at_asc
page
​integer · int32

Page number to return, from the paginated results.

page_size
​integer · uint32

Number of backend stages to return per page.

bucket_name
​string

Bucket name to filter for. Only backend stages from this Bucket will be returned.

bucket_region
​string

Bucket region to filter for. Only backend stages with buckets in this region will be returned.

lb_id
​string

Load Balancer ID to filter for. Only backend stages with this Load Balancer will be returned.

List backend stages › Responses

200

Paginated list of backend stages.

total_count
​integer · uint64

Count of all backend stages matching the requested criteria.


Create backend stage

POST
https://api.scaleway.com
/edge-services/v1beta1/pipelines/{pipeline_id}/backend-stages

Create a new backend stage. You must specify a type of backend (scaleway_s3, scaleway_lb, etc.) to configure the origin.

Create backend stage › path Parameters

pipeline_id
​string · required

Pipeline ID the Backend stage belongs to.

Create backend stage › Request Body

​

Scaleway Object Storage origin bucket (S3) linked to the backend stage.

​

Scaleway Load Balancer origin linked to the backend stage.

​

Scaleway Serverless container origin linked to the backend stage.

​

Scaleway Serverless function origin linked to the backend stage.

Create backend stage › Responses

200
id
​string

ID of the backend stage.

pipeline_id
​string

Pipeline ID the backend stage belongs to.

status
​scaleway.edge_services.v1beta1.StageStatus · enum

Current status of the stage.

Enum values:
unknown_status
inactive
active
Default: unknown_status
created_at
​string | null · date-time

Date the backend stage was created. (RFC 3339 format)

updated_at
​string | null · date-time

Date the backend stage was last updated. (RFC 3339 format)

​

Scaleway Object Storage origin bucket (S3) linked to the backend stage.

​

Scaleway Load Balancer origin linked to the backend stage.

​

Scaleway Serverless container origin linked to the backend stage.

​

Scaleway Serverless function origin linked to the backend stage.