bus

Update contract usability

Changed on

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

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

idstring required

A unique identifier for a file contract

Request body

'good' | 'bad' required

Response

Contract usability updated successfully

Changes

    • breaking

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

    • breaking

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

    • breaking

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

    • info

      api tag bus added

    • info

      endpoint added