Get All Posts

METHOD

GET

URL EXAMPLE

/gistps/api/v1/post

RESPONSE BODY EXAMPLE

[
    {
        "id": 1,
        "comment": [],
        "title": "κΈ°μˆ™μ‚¬ ~에 λŒ€ν•΄ κ±΄μ˜ν•©λ‹ˆλ‹€",
        "description": "~ν•œ 문제 ν•΄κ²° λ°”λžλ‹ˆλ‹€",
        "category": "λΆ„λ₯˜1",
        "created": "2021-08-12",
        "answered": false,
        "accepted": 0,
        "userId": 1
    },
    {
        "id": 2,
        "comment": [],
        "title": "κΈ°μˆ™μ‚¬ ~에 λŒ€ν•΄ κ±΄μ˜ν•©λ‹ˆλ‹€2",
        "description": "~ν•œ 문제 ν•΄κ²° λ°”λžλ‹ˆλ‹€2",
        "category": "λΆ„λ₯˜1",
        "created": "2021-08-12",
        "answered": false,
        "accepted": 0,
        "userId": 1
    },
    {
        "id": 3,
        "comment": [],
        "title": "식당 ~에 λŒ€ν•΄ κ±΄μ˜ν•©λ‹ˆλ‹€2",
        "description": "~ν•œ 문제 ν•΄κ²° λ°”λžλ‹ˆλ‹€2",
        "category": "λΆ„λ₯˜2",
        "created": "2021-08-12",
        "answered": false,
        "accepted": 0,
        "userId": 2
    }
]

Last updated