photo API
photo μ¬μ§ λΆλ¬μ€κΈ°
GET https://weavel.site/photo?id={id}
μ μ μ¬μ§ λΆλ¬μ€κΈ°
Query Parameters
String
id number
Headers
Authentication
String
Token
image.file{ message: "μ¬μ§μ μ‘°νν μ μμ΅λλ€."}photo/info μ μ μ¬μ§ λ°μ΄ν° μ 체 μ‘°ν
GET https://weavel.site/photo/info
Headers
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"
}]{ message: "μ μ μ μ΄λ―Έμ§ μ λ³΄κ° μ‘°νλμ§ μμ΅λλ€"} photo μ¬μ§μ μ₯
POST https://weavel.site/photo
Headers
Authentication
String
Token
Request Body
image
image
image file
photo/info μ¬μ§μ 보μ μ₯
POST https://weavel.site/photo/info
Path Parameters
Authentication
string
Token
Request Body
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
Authentication
String
Token
Request Body
image
image
image file
photo/info μ¬μ§μ 보μμ
PUT https://weavel.site/photo/info
Headers
Authentication
String
Token
Request Body
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
Authentication
string
Token
Request Body
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?