Repo Settings

Create an opt-in repository gate definition

Changed on

Creates an opt-in gate (today only base_checks). Builtin gates are seeded by entire-api and are toggled through PATCH instead.

post/api/v1/cache/r/{repoId}/gates

Request

  • Base URL
    https://entire.io (the document declares no server; this is the origin it was published from)
  • URL
    https://entire.io/api/v1/cache/r/{repoId}/gates
  • Auth
    none declared

Path parameters

repoIdstring required

Request body

gate_type'base_checks' required
configobject nullable

Response

Created gate

Changes

    • warning

      added the new plugin enum value to the / response property for the response status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added