# Banner ### GET All Banner * Endpoint : /api/banner/banners * HTTP Method : GET * Requires Auth : true * Request Param : * Path Variable : - * Response Header : * Authorization : Bearer [token] * Set-Cookie : xy_user_id=user_id * Set-Cookie : xy_session_id=session #### Success Response Body ```` { code: 200 status: "OK" data: [ "[ImageUrl1]", "[ImageUrl2]", ... ] } ```` #### Error Response Body ```` { code: 401 status: "NOT AUTHORIZED" errors: ["User is not logged in"] } ```` ### POST New Banner Configuration * Endpoint : /api/admin/banner/banners * HTTP Method : POST * Requires Auth : true * Request Param : * Path Variable : - * Response Header : * Authorization : Bearer [token] * Set-Cookie : xy_user_id=user_id * Set-Cookie : xy_session_id=session #### Request Body ```` { banners: [ "[ImageUrl1]", "[ImageUrl2]", ... ] } ```` #### Success Response Body ```` { code: 200 status: "OK" data: { banners: [ "[ImageUrl1]", "[ImageUrl2]", ... ] } } ```` #### Error Response Body ```` { code: 401 status: "NOT AUTHORIZED" errors: ["User is not logged in"] } ````