Uxopian Software documentation is now centralized on a single site. Find the up-to-date documentation for our products on doc.uxopian.com.

Stamp preferences

Manage user stamp preferences

The stamp preferences service allows managing stamps (signature images or annotations) for users.

Get stamps for current user


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token
curl -X GET "<CORE_HOST>/rest/preferences/stamps" \
  -H "token: <TOKEN>"

Get stamps for specific authorities


# <CORE_HOST>    FlowerDocs Core base URL
# <TOKEN>        authentication token
# <AUTHORITIES>  user or group identifiers (comma-separated)
curl -X GET "<CORE_HOST>/rest/preferences/stamps/users/<AUTHORITIES>" \
  -H "token: <TOKEN>"

Create a stamp


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token
curl -X POST "<CORE_HOST>/rest/preferences/stamps" \
  -H "token: <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "My Signature",
  "type": "SIGNATURE",
  "content": "base64-encoded-image-data"
}'

Update a stamp


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token
# <ID>         stamp identifier
curl -X POST "<CORE_HOST>/rest/preferences/stamps/<ID>" \
  -H "token: <TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "My Updated Signature",
  "type": "SIGNATURE",
  "content": "base64-encoded-image-data"
}'

Delete stamps


# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN>      authentication token
# <IDS>        stamp identifiers (comma-separated)
curl -X DELETE "<CORE_HOST>/rest/preferences/stamps/<IDS>" \
  -H "token: <TOKEN>"