cURL
curl --request POST \ --url https://api.oquiz.net/users/self/banners \ --header 'Content-Type: application/json' \ --data ' { "slot": "<unknown>", "payload": { "type": "<unknown>", "value": "<string>", "color": "<string>" }, "current": true, "position": 123 } '
{ "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "userId": "<string>", "position": 123, "payload": { "type": "<unknown>", "value": "<string>", "color": "<string>" }, "slot": "<unknown>", "current": true }
Create banner for user.
Banner slot position
Banner payload containing type and value
Показать дочерние атрибуты
Whether this is the current active banner
Banner position order
Была ли эта страница полезной?