Admin Practice Catalog

Add a practice to the catalog

post/admin/practice-catalog/practices

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/practice-catalog/practices
  • Auth: HTTP bearer

Request body

slugstring required

Example request

{
  "definition": {
    "automatedReviewPolicy": {
      "insufficiencyReason": {
        "code": "RUNTIME_BEHAVIOR_NOT_OBSERVED"
      },
      "knownLimitations": [
        {
          "code": "RUNTIME_BEHAVIOR_NOT_OBSERVED"
        }
      ]
    }
  },
  "slug": "pr-description-quality"
}

Response

Practice added

positioninteger required
slugstring required

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.