For the complete documentation index, see llms.txt. This page is also available as Markdown.

Memo

특정 유저의 특정 이미지의 메모를 생성합니다.

POST https://service-stage.pic-origin.com/api/v1/users/{user_id}/images/{image_id}/memos

Path Parameters

Name
Type
Description

user_id*

String

유저의 id

ex)8BfE96V8Xc

image_id*

String

이미지의 id

ex) d06054b8-9bee-4f41-84c1-8154731094bd

Headers

Name
Type
Description

Authorization*

String

User ${Token}

Request Body

Name
Type
Description

message*

String

메모 메시지

ex)테스트 메시지

is_client*

String

해당 메모의 클라이언트 여부 [True, False]

ex)True

{
    "status_code": 200,
    "message": "성공",
    "result": {
        "id": "865d2610-24ba-46ba-958c-3059769477eb",
        "user_id": "EabHTVpYYm",
        "folder_id": null,
        "filename": "20231129_160402_1a306bbbdd96228a75600f0d9ad37dd7_V00.JPEG",
        "org_path_url": "https://pillo-app-dev.s3.amazonaws.com/EabHTVpYYm/images/edit/20231129_160402_1a306bbbdd96228a75600f0d9ad37dd7_V00.JPEG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZEHAPJW7UBG2TATL%2F20240313%2Fap-northeast-2%2Fs3%2Faws4_request&X-Amz-Date=20240313T062146Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=75b30f8f54f5234dc2c7f60a86c0ff30cae98fb40303851b176abfa7349962c7",
        "path_url": "https://pillo-app-dev.s3.amazonaws.com/EabHTVpYYm/images/edit/20231129_160402_1a306bbbdd96228a75600f0d9ad37dd7_V00.JPEG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZEHAPJW7UBG2TATL%2F20240313%2Fap-northeast-2%2Fs3%2Faws4_request&X-Amz-Date=20240313T062146Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=75b30f8f54f5234dc2c7f60a86c0ff30cae98fb40303851b176abfa7349962c7",
        "lat": 37.500277,
        "lng": 127.096944,
        "address_road": "서울 강서구 마곡중앙6로 10",
        "address_land": "서울 강서구 마곡동 773-1",
        "address_land_number": null,
        "building_name": "마곡역센트럴푸르지오시티오피스텔",
        "address_det": "102동 102호",
        "created_at": "20231129_160402",
        "updated_at": "20231129_160402",
        "delete_at": null,
        "filedata_total": 0,
        "is_signed": true,
        "is_shared": false,
        "has_det": null,
        "filesize_mb": 0.12,
        "image_resource_type": "JPEG",
        "resolution": null,
        "memos": [
            {
                "id": "3seYJCmxFZ",
                "image_id": "865d2610-24ba-46ba-958c-3059769477eb",
                "message": "테스트입니다",
                "is_client": false,
                "created_at": "20240312_140647",
                "updated_at": "20240312_140647"
            },
            {
                "id": "ACpbAGdoYt",
                "image_id": "865d2610-24ba-46ba-958c-3059769477eb",
                "message": "테스트입니다",
                "is_client": true,
                "created_at": "20240313_152146",
                "updated_at": "20240313_152146"
            }
        ],
        "customs": [],
        "filedatas": []
    }
}

특정 유저의 특정 이미지의 메모를 조회합니다.

GET https://service-stage.pic-origin.com/api/v1/users/{user_id}/images/{image_id}/memos

Path Parameters

Name
Type
Description

user_id*

String

유저의 id

ex)8BfE96V8Xc

image_id*

String

이미지의 id

ex) d06054b8-9bee-4f41-84c1-8154731094bd

Headers

Name
Type
Description

Authorization*

String

User ${Token}

특정 유저의 특정 이미지의 메모를 수정합니다.

PUT https://service-stage.pic-origin.com/api/v1/users/{user_id}/images/{image_id}/memos/{memo_id}

Path Parameters

Name
Type
Description

user_id*

String

유저의 id

ex)8BfE96V8Xc

image_id*

String

이미지의 id

ex) d06054b8-9bee-4f41-84c1-8154731094bd

memo_id*

String

메모의 id

ex) A7iumwbv7s

Headers

Name
Type
Description

Authorization*

String

User ${Token}

Request Body

Name
Type
Description

message

String

메모 메시지

ex)테스트 메시지

is_client

String

해당 메모의 클라이언트 여부 [True, False]

ex)True

특정 유저의 특정 이미지의 메모를 삭제합니다.

DELETE https://service-stage.pic-origin.com/api/v1/users/{user_id}/images/{image_id}/memos/{memo_id}

Path Parameters

Name
Type
Description

user_id*

String

유저의 id

ex)8BfE96V8Xc

image_id*

String

이미지의 id

ex) d06054b8-9bee-4f41-84c1-8154731094bd

memo_id*

String

메모의 id

ex) A7iumwbv7s

Headers

Name
Type
Description

Authorization*

String

User ${Token}

Last updated