DigitalOcean-public.v2-new_Apps

Restart an App

Perform a rolling restart of all or specific components in an app.

post/v2/apps/{app_id}/restart

Path parameters

app_idstring required

The app ID

Request body

componentsstring[]

Example request

{
  "components": [
    "component1",
    "component2"
  ]
}

Response

A JSON object with a deployment key.

Changes

Changed in 5 of the 8 revisions of this API.118

    • api tag DigitalOcean-public.v2-new_Apps added

      api-tag-added

    • api tag Apps removed

      api-tag-removed

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

  • 015417b3636514See the full diff
    • added the new AUTOSCALE_SUCCEEDED enum value to the deployment/spec/functions/items/alerts/items/rule response property for the response status 200

      response-property-enum-value-added

    • added the optional property deployment/spec/disable_edge_cache to the response with the 200 status

      response-optional-property-added

    • added the optional property deployment/spec/disable_email_obfuscation to the response with the 200 status

      response-optional-property-added

    • added the optional property deployment/spec/enhanced_threat_control_enabled to the response with the 200 status

      response-optional-property-added

    • added the optional property deployment/spec/vpc to the response with the 200 status

      response-optional-property-added

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

    • endpoint added

      endpoint-added

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

    • api path removed without deprecation

      api-path-removed-without-deprecation

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

    • endpoint added

      endpoint-added

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