Skip to content

Create or update a magic shelf

POST
/api/magic-shelves
curl --request POST \
--url http://127.0.0.1:58259/api/magic-shelves \
--header 'Content-Type: application/json' \
--data '{ "id": 1, "name": "example", "icon": "example", "iconType": "PRIME_NG", "filterJson": "example", "isPublic": true }'

Create or update a magic shelf for the user.

Media type application/json

Magic shelf object

object
id
integer format: int64
name
required
string
0 <= 255 characters
icon
string
0 <= 64 characters
iconType
string
Allowed values: PRIME_NG CUSTOM_SVG
filterJson
required
string
>= 2 characters <= 2147483647 characters
isPublic
boolean

Magic shelf created/updated successfully

Media type */*

Magic shelf object

object
id
integer format: int64
name
required
string
0 <= 255 characters
icon
string
0 <= 64 characters
iconType
string
Allowed values: PRIME_NG CUSTOM_SVG
filterJson
required
string
>= 2 characters <= 2147483647 characters
isPublic
boolean