photo API

photo 사진 뢈러였기

GET https://weavel.site/photo?id={id}

μœ μ €μ‚¬μ§„ 뢈러였기

Query Parameters

Name
Type
Description

String

id number

Headers

Name
Type
Description

Authentication

String

Token

image.file

photo/info μœ μ €μ‚¬μ§„ 데이터 전체 쑰회

GET https://weavel.site/photo/info

Headers

Name
Type
Description

Authentication

String

Token

[{
    id: "photo.id",
    image: "./upload/filename",
    weather: "photo.weather",
    date: "photo.date",
    area: "photo.area",
    filename: "pc1.jpeg"
},
{
    id: "photo.id",
    image: "./upload/filename",
    weather: "photo.weather",
    date: "photo.date",
    area: "photo.area",
    filename: "pc1.jpeg"
}]

photo 사진저μž₯

POST https://weavel.site/photo

Headers

Name
Type
Description

Authentication

String

Token

Request Body

Name
Type
Description

image

image

image file

photo/info 사진정보저μž₯

POST https://weavel.site/photo/info

Path Parameters

Name
Type
Description

Authentication

string

Token

Request Body

Name
Type
Description

id

String

photo.id

weather

String

photo.weather

date

String

photo.date

area

String

photo.area

filename

String

image file name

comment

String

photo.comment

photo μ‚¬μ§„μˆ˜μ •

PUT https://weavel.site/photo?id={id}

Headers

Name
Type
Description

Authentication

String

Token

Request Body

Name
Type
Description

image

image

image file

photo/info μ‚¬μ§„μ •λ³΄μˆ˜μ •

PUT https://weavel.site/photo/info

Headers

Name
Type
Description

Authentication

String

Token

Request Body

Name
Type
Description

id

String

photo.id

weather

String

photo.weather

date

String

photo.date

area

String

photo.area

filename

String

image file name

comment

String

photo.comment

photo μ‚¬μ§„μ‚­μ œ

DELETE https://weavel.site/photo

Path Parameters

Name
Type
Description

Authentication

string

Token

Request Body

Name
Type
Description

id

String

photo.id

weather

String

photo.weather

date

String

photo.date

area

String

photo.area

filename

String

image file name

Last updated

Was this helpful?