Platform

ν”Œλž«νΌμ„ μƒμ„±ν•©λ‹ˆλ‹€.

POST https://service-stage.pic-origin.com/api/v1/platforms/

Headers

Name
Type
Description

Authorization*

String

Admin ${Token}

{
  "status_code": 200,
  "message": "성곡",
  "result": {
    "id": "8pN7TkrnsQ",
    "platform": "thebiz",
    "created_at": "20231005_070200",
    "updated_at": "20231005_070200",
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4cE43VGtybnNRIiwicGxhdGZvcm0iOiJ0aGViaXoiLCJjcmVhdGVkX2F0IjoiMjAyMzEwMDVfMDcwMjAwIiwicGVybSI6InBsYXRmb3JtIiwiZXhwIjoxNzE0NDg5MzIwfQ.HmnKRxVWuqP2YdfTrlZ2dLm8Xsi08rUBFwGoX28JQXc",
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4cE43VGtybnNRIiwicGxhdGZvcm0iOiJ0aGViaXoiLCJjcmVhdGVkX2F0IjoiMjAyMzEwMDVfMDcwMjAwIiwicGVybSI6InBsYXRmb3JtIiwiZXhwIjoxNjk3MDk0MTIwfQ.-jNJ8_ZZY_--rHq-E5AnleeVX7xzuHP54d_4GuTbJvw",
    "token_type": "bearer"
  }
}
curl --location --request POST 'https://service-stage.pic-origin.com/api/v1/platforms/' \
--header 'Authorization: Admin {YOUR_TOKEN}'

ν”Œλž«νΌμ„ μ‘°νšŒν•©λ‹ˆλ‹€.

GET https://service-stage.pic-origin.com/api/v1/platforms/

Headers

Name
Type
Description

Authorization*

String

Admin ${Token}

{
  "status_code": 200,
  "message": "성곡",
  "result": [
    {
      "id": "8qxhog8TYv",
      "platform": "thebiz_test",
      "created_at": "20231005_054452",
      "updated_at": "20231005_054452"
    },
    {
      "id": "8qfT7uK7Rm",
      "platform": "thebiz_test2",
      "created_at": "20231005_054848",
      "updated_at": "20231005_054848"
    },
    {
      "id": "8pN7TkrnsQ",
      "platform": "thebiz",
      "created_at": "20231005_070200",
      "updated_at": "20231005_070200"
    }
  ]
}
curl --location 'https://service-stage.pic-origin.com/api/v1/platforms/' \
--header 'Authorization: Admin {YOUR_TOKEN}'

νŠΉμ • ν”Œλž«νΌμ„ μ‘°νšŒν•©λ‹ˆλ‹€.

GET https://service-stage.pic-origin.com/api/v1/platforms/{platform_id}

Path Parameters

Name
Type
Description

platform_id*

String

ν”Œλž«νΌμ˜ id

ex)8pN7TkrnsQ

Headers

Name
Type
Description

Authorization*

String

Platform ${Token}

{
  "status_code": 200,
  "message": "성곡",
  "result": {
    "id": "8pN7TkrnsQ",
    "platform": "thebiz",
    "created_at": "20231005_070200",
    "updated_at": "20231005_070200"
  }
}
curl --location 'https://service-stage.pic-origin.com/api/v1/platforms/{platform_id}' \
--header 'Authorization: Platform {YOUR_TOKEN}'

νŠΉμ • ν”Œλž«νΌμ˜ 정보λ₯Ό μ‘°νšŒν•©λ‹ˆλ‹€.

GET https://service-stage.pic-origin.com/api/v1/platforms/{platform_id}/info

Path Parameters

Name
Type
Description

platform_id*

String

ν”Œλž«νΌμ˜ id

ex)8pN7TkrnsQ

Headers

Name
Type
Description

Authorization*

String

Platform ${Token}

{
    "status_code": 200,
    "message": "성곡",
    "result": {
        "user_count": 7,
        "image_count": 80,
        "part_total_filesize_mb": 7.65,
        "total_filesize_mb": 13.62
    }
}
curl --location 'https://service-stage.pic-origin.com/api/v1/platforms/{platform_id}/info' \
--header 'Authorization: Platform {YOUR_TOKEN}'

Last updated