Invalid Action

APIs.ioEngineeringPlatform

Properties

Name Type Description
type string The error type.
title string A short summary of the error.
detail string Details about the occurrence of the error.
status number The error's HTTP status code.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-pullrequestreview400errorinvalidaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/pullRequestReview400ErrorInvalidAction",
  "title": "Invalid Action",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "format": "uri",
      "description": "The error type.",
      "example": "https://api.postman.com/problems/bad-request"
    },
    "title": {
      "type": "string",
      "description": "A short summary of the error.",
      "example": "Value must be one of \"approve\", \"unapprove\", \"decline\", \"merge\""
    },
    "detail": {
      "type": "string",
      "description": "Details about the occurrence of the error.",
      "example": "POST request body for '/pull-requests/4e1a6609-1a29-4037-a411-89ecc14c6cd8/tasks' failed to validate schema. Location: /properties/action/enum"
    },
    "status": {
      "type": "number",
      "format": "http-status-code",
      "description": "The error's HTTP status code.",
      "example": 400
    }
  }
}