Entities
Edit an entity
Name, kind, reference set (replaced) and traits (merged), the app's own save. A rename recomputes search over every photo it is tagged on. Somebody else's id is a 404. Free.
patch/v1/entities/{id}
Request
- Base URL: https://nanostudiopro.com/api
- URL: https://nanostudiopro.com/api/v1/entities/{id}
- Auth: HTTP bearer
Request body
Example request
{
"name": "Nano",
"refs": [
{
"role": "front"
}
],
"traits": {
"bio": {
"description": "A girl who follows music into the woods"
}
}
}Response
The entity as saved
Example response
{
"id": "cmod4q3op00011dod8a0omywd",
"name": "Pancho",
"slug": "pancho",
"photo_count": 12,
"bio": {
"born": "1983"
},
"specs": {
"fields": [
{
"key": "top_speed",
"label": "Top speed",
"value": "250 km/h"
}
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.