작가

모든 작가 목록

GET /api/artists

Query Parameters

Name
Type
Description

pageNumber

Number

pageNumber 1 is default

isAdmin

Boolean

true

{
    "artists": [
        {
            "_id": "61afa6c004a0bb379026e1db",
            "code": "0007",
            "name": "헤이",
            "aka": "Hazel",
            "record": "음악으로만 할 수 있는 말, 글로만 할 수 있는 말이 있듯이, 그림도 그림으로만 할 수 있는 말이 있다고 생각해요.",
            "thumbnail": "https://lumiereimage.s3-ap-northeast-2.amazonaws.com/c0707921-3b3b-40ff-90e6-e74e9ab3ac81.jpeg",
            "countOfWorks": 3,
            "isActive": true,
            "joinAt": "2021-12-07T18:24:00.146Z"
        },
      ...
    ],
    "page": 1,
    "pages": 3
}

해당 작가 상세

GET /api/artists/:id

Path Parameters

Name
Type
Description

id*

ObjectId

Artist's

작가 찜 추가 및 제거

PATCH /api/artists/zzim

Headers

Name
Type
Description

authorization*

String

Bearer Token

Content-type*

String

application/json

Request Body

Name
Type
Description

artistId*

ObjectId

작가 고유 아이디

zzim*

Boolean

true or false

Last updated