Backups

Attach one or more external services to a backup schedule. Idempotent — services that are already attached are silently skipped (`ON CONFLICT DO NOTHING`). Returns the count of newly inserted rows + the total membership after the operation.

Changed on
post/backups/schedules/{id}/services

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/backups/schedules/{id}/services
  • Auth: HTTP bearer

Path parameters

idinteger required

Schedule ID

Request body

service_idsinteger[] required

External service ids to attach. Duplicates are de-duplicated server-side.

Response

Services attached

insertedinteger required

Number of rows actually inserted (excludes rows skipped by ON CONFLICT DO NOTHING).

total_attachedinteger required

Total number of services now attached to the schedule.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status