POST API

κ²Œμ‹œλ¬Ό μ“°κΈ°

POST https://Yeollin-jib/post

form-data : image (multipart/form-data)

Request Body

Name
Type
Description

image*

file

contents*

String

title*

String

longitude*

String

dueDate*

String

address*

String

latitude*

String

category1*

String

category2

String

κ²Œμ‹œλ¬Ό 리슀트 쑰회(첫 κ²Œμ‹œλ¬Ό νŽ˜μ΄μ§€)

GET https://Yeollin-jib.site/post/page

κ²Œμ‹œλ¬Ό 리슀트 쑰회 (λ¬΄ν•œμŠ€ν¬λ‘€)

GET https://Yeollin-jib/post/page/:postId

Path Parameters

Name
Type
Description

postId

params

Headers

Name
Type
Description

AccessToken

String

μœ μ €κ°€ μž‘μ„±ν•œ κ²Œμ‹œλ¬Ό 전체 쑰회 (λ§ˆμ΄νŽ˜μ΄μ§€ λ‚΄κ°€ μ“΄ κΈ€)

GET https://Yeollin-jib/post/user

Headers

Name
Type
Description

AccessToken

String

κ²Œμ‹œλ¬Ό μΉ΄ν…Œκ³ λ¦¬λ³„ 리슀트 쑰회

GET https://Yeollin-jib/post/:id

Query Parameters

Name
Type
Description

code1

number

code2

String

κ²Œμ‹œλ¬Ό 쑰회 (μ—΄λžŒ)

GET https://Yeollin-jib/post/category?code1={}&code2={}

Path Parameters

Name
Type
Description

postId

parmas

κ²Œμ‹œλ¬Ό μˆ˜μ • (μˆ˜μ • λΆ€λΆ„λ§Œ 전솑)

PATCH https://Yeollin-jib/post/:id

imageDelete(remove), imagePath(save)

Request Body

Name
Type
Description

imageDelete

String

imagePath

String

imagefile

file

title

String

contents

String

address

String

dueDate

String

latitude

String

longitude

String

κ²Œμ‹œλ¬Ό μΉ΄ν…Œκ³ λ¦¬ True False μ§€μ •

PATCH https://Yeollin-jib/post/category

Request Body

Name
Type
Description

PostId

String

postId

categoryId

String

promise categoryId

κ²Œμ‹œλ¬Ό μ‚­μ œ

DELETE https://Yeollin-jib/post/:postid

Path Parameters

Name
Type
Description

postId

prams

Last updated