SCIM 오류

SCIM 오류 (scim_error)

Docker Hub SCIM 2.0 API가 오류를 돌려줄 때 쓰는 오류 스키마예요. SCIM 오류 메시지 규격에 따라 detail, status, schemas 필드를 담아요.

출처: 문서

본문

SCIM 오류 객체의 필드는 다음과 같아요.

  • detail: 요청이 실패한 이유에 대한 상세
  • status: 응답 상태 코드 (문자열)
  • schemas: 응답이 따르는 SCIM 스키마 URI 배열. 기본값은 urn:ietf:params:scim:api:messages:2.0:Error예요.
{
  "properties": {
    "detail": {
      "description": "Details about why the request failed.",
      "type": "string"
    },
    "schemas": {
      "items": {
        "default": "urn:ietf:params:scim:api:messages:2.0:Error",
        "type": "string"
      },
      "type": "array"
    },
    "status": {
      "description": "The status code for the response in string format.",
      "type": "string"
    }
  },
  "type": "object"
}

더 알아보기