bus

Update contract usability

Updates the usability of the contract with the provided ID. A contract can be marked as either 'good' or 'bad'. If a contract is considered bad, all of the data in that contract needs to be migrated to 'good' contracts to ensure all of the data remains healthy and the files continue to be accessible.

put/bus/contract/{id}/usability

Path parameters

idstring required

A unique identifier for a file contract

Request body

'good' | 'bad' required

Response

Contract usability updated successfully

Changes

Changed in 3 of the 50 revisions of this API.42

  • 922f156353c931See the full diff
    • removed the media type text/plain for the response with the status 400

      response-media-type-removed

    • removed the media type text/plain for the response with the status 404

      response-media-type-removed

    • removed the media type text/plain for the response with the status 500

      response-media-type-removed

    • api tag bus added

      api-tag-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

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