Practice Catalog Adoption

Get a practice adoption preview

Changed on
get/workspaces/{workspaceSlug}/practice-catalog/adoption/{slug}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/practice-catalog/adoption/{slug}
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

slugstring required

Response

Adoption preview returned

availability'AVAILABLE' | 'ADOPTED' | 'SLUG_CONFLICT' required
etagstring required
initialAutonomy'OFF' | 'HUMAN_APPROVAL' | 'AUTOMATIC' required
slugstring required
sourceReviewRuleFingerprintstring required

Example response

{
  "definition": {
    "automatedReviewPolicy": {
      "insufficiencyReason": {
        "code": "RUNTIME_BEHAVIOR_NOT_OBSERVED"
      },
      "knownLimitations": [
        {
          "code": "RUNTIME_BEHAVIOR_NOT_OBSERVED"
        }
      ]
    }
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      for the path request parameter workspaceSlug, the minLength was increased from 0 to 3

    • warning

      for the path request parameter workspaceSlug, the maxLength was set to 51

    • warning

      changed the pattern of the path request parameter workspaceSlug from ^[a-z0-9][a-z0-9-]{2,50}$ to ^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$