Views

Create-or-replace a saved view by id.

Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. shared may only be promoted (personal → shared); demotion returns 400. projectId and resourceType are immutable after create.

put/api/v1/views

Request

  • Base URL: https://uniform.app
  • URL: https://uniform.app/api/v1/views
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

namestring required
descriptionstring
searchTermstring
sortstring[]
sharedboolean required
iconstring
idstring required
projectIdstring required
resourceType'composition' | 'compositionPattern' | 'component' | 'componentPattern' | 'entry' | 'entryPattern' | 'contentType' | 'blockType' | 'release' | 'signal' | 'intent' | 'audience' | 'asset' required

Response

OK

namestring required
descriptionstring
searchTermstring
sortstring[]
sharedboolean required
iconstring
idstring required
projectIdstring required
resourceType'composition' | 'compositionPattern' | 'component' | 'componentPattern' | 'entry' | 'entryPattern' | 'contentType' | 'blockType' | 'release' | 'signal' | 'intent' | 'audience' | 'asset' required
createdBystring nullable required
createdstring date-time required
modifiedstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.