ServerlessV1Build

Create a new Build resource. At least one function version or asset version is required.

Create a new Build resource. At least one function version or asset version is required.

post/v1/Services/{ServiceSid}/Builds

Path parameters

ServiceSidstring required

The SID of the Service to create the Build resource under.

Response

Created

sidstring nullable

The unique string that we created to identify the Build resource.

account_sidstring nullable

The SID of the Account that created the Build resource.

service_sidstring nullable

The SID of the Service that the Build resource is associated with.

status'building' | 'completed' | 'failed'

The status of the Build. Can be: building, completed, or failed.

runtime'node8' | 'node10' | 'node12' | 'node14' | 'node16' | 'node18' | 'node20' | 'node22' | 'node24'

The Runtime version that will be used to run the Build resource when it is deployed.

date_createdstring date-time nullable

The date and time in GMT when the Build resource was created specified in ISO 8601 format.

date_updatedstring date-time nullable

The date and time in GMT when the Build resource was last updated specified in ISO 8601 format.

urlstring uri nullable

The absolute URL of the Build resource.

linksobject nullable

Changes

Changed in 8 of the 51 revisions of this API.652

    • added the new node24 enum value to the runtime response property for the response status 201

      response-property-enum-value-added

    • the asset_versions/items/ response's property type/format changed from object/ to / for status 201

      response-property-type-changed

    • the dependencies/items/ response's property type/format changed from object/ to / for status 201

      response-property-type-changed

    • the function_versions/items/ response's property type/format changed from object/ to / for status 201

      response-property-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new node20 enum value to the runtime response property for the response status 201

      response-property-enum-value-added

    • added the new node22 enum value to the runtime response property for the response status 201

      response-property-enum-value-added

    • the asset_versions/items/ response's property type/format changed from / to object/ for status 201

      response-property-type-changed

    • the dependencies/items/ response's property type/format changed from / to object/ for status 201

      response-property-type-changed

    • the function_versions/items/ response's property type/format changed from / to object/ for status 201

      response-property-type-changed

    • added the new node18 enum value to the runtime response property for the response status 201

      response-property-enum-value-added

    • removed the node18 enum value from the runtime response property for the response status 201

      response-property-enum-value-removed

    • added the new node18 enum value to the runtime response property for the response status 201

      response-property-enum-value-added

    • api tag ServerlessV1Build added

      api-tag-added