Class ListSchemasRequest.Builder
- Enclosing class:
ListSchemasRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()from(ListSchemasRequest other) Maximum number of schemas to return per page (1–100; defaults to 20).recordType(String recordType) recordType(Optional<String> recordType) Resolve the single schema for this record type — the natural handle for a schema, and the direct alternative to remembering its opaque id.Filter to schemas carrying this scope value, as a singlenamespace:valueentry — for exampleorg:6ba7b810-9dad-11d1-80b4-00c04fd430c8orgroup:eng-team.Pagination cursor.Filter to schemas bindable to this surface:record,document,user, orentity— identity entities in any namespace (org,client, or one you registered) bind under the singleentitysurface.Filter to schemas owned by this user — the Vectros-assigned UUID of a user in your account.
-
Method Details
-
from
-
userId
Filter to schemas owned by this user — the Vectros-assigned UUID of a user in your account. Use
GET /v1/users?externalId=to resolve a UUID from your own external id. -
userId
-
scope
Filter to schemas carrying this scope value, as a single
namespace:valueentry — for exampleorg:6ba7b810-9dad-11d1-80b4-00c04fd430c8orgroup:eng-team.organdclientare built-in namespaces; others are custom scopes you define. Resolve a namespace's UUID from your own identifier withGET /v1/entities/{namespace}?externalId=. -
scope
-
surface
Filter to schemas bindable to this surface:
record,document,user, orentity— identity entities in any namespace (org,client, or one you registered) bind under the singleentitysurface. Returns only schemas whose allowed surfaces include the given one — useful for listing, say, document types separately from record types. The identity surfaces (user,entity) are account-wide: filtering by one lists your account's identity schemas regardless of the calling context, whereasrecordanddocumentlist within the calling context. -
surface
-
recordType
Resolve the single schema for this record type — the natural handle for a schema, and the direct alternative to remembering its opaque id. Returns a one-element page, or an empty page if no such schema exists. Resolved in the calling context for record and document types; combine with
surface=userorsurface=entityto resolve an account-wide identity schema. Takes precedence overuserId; ascopefilter still applies, so a resolved schema outside that scope returns an empty page. A type name is unique per owner, not per context — if more than one owner in this context has defined a schema with this name, the request fails with400 AMBIGUOUS_RECORD_TYPEinstead of guessing; resolve byidinstead, or adduserId/scopeto narrow to one owner first. -
recordType
-
startFrom
Pagination cursor. Pass the
nextCursorfrom the previous page to fetch the next page; omit it for the first page. -
startFrom
-
limit
Maximum number of schemas to return per page (1–100; defaults to 20).
-
limit
-
build
-
additionalProperty
-
additionalProperties
-