Onboarding

성과파일 presigned URL 발급

성과파일(xlsx/csv) 업로드용 presigned PUT URL을 로그인 여부와 관계없이 발급한다. PUT 요청 시 응답의 contentType 값과 x-amz-tagging: retain=pending 헤더를 그대로 보내야 한다.

post/api/v1/onboarding/ad-history/presigned-urls

Request

  • Base URL: https://api.chaeso-zip.com
  • URL: https://api.chaeso-zip.com/api/v1/onboarding/ad-history/presigned-urls
  • Auth: none declared

Request body

Example request

{
  "files": [
    {
      "fileName": "3월_집행실적.xlsx",
      "fileSizeBytes": 1048576
    }
  ]
}

Response

발급 성공

successboolean required

요청 성공 여부

codestring nullable required

성공 안내 코드. 안내할 것이 없으면 null

Example response

{
  "success": true,
  "data": [
    {
      "key": "ad-history/3f9c1e2a-....xlsx",
      "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
    }
  ],
  "error": {
    "code": "C-001",
    "message": "입력값이 올바르지 않습니다.",
    "fieldErrors": [
      {
        "field": "name",
        "reason": "이름은 필수입니다."
      }
    ]
  },
  "code": "GOOGLE_ACCOUNT_LINKED"
}

Changes

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