Class ListSchemasRequest
java.lang.Object
ai.vectros.resources.schemas.requests.ListSchemasRequest
-
Method Details
-
getUserId
- Returns:
- 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.
-
getScope
- Returns:
- Filter to schemas carrying this scope value, as a single
namespace:valueentry — for exampleorg:6ba7b810-9dad-11d1-80b4-00c04fd430c8orgroup:eng-team.organdclientare reserved namespace names; others are namespaces you registered yourself. Resolve a namespace's UUID from your own identifier withGET /v1/entities/{namespace}?externalId=.
-
getSurface
- Returns:
- 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.useris fully account-wide: filtering by it lists your account's identity schemas regardless of the calling context, since auser-surfaced schema always has one tenant-wide home.entityis NOT account-wide in the same sense: an entity schema is homed in whichever app context its namespace is placed in (or the tenant-wide home for a tenant-placed namespace), so filtering byentityreads your own context's entity schemas together with the tenant-wide ones — a different caller context can see a different result.recordanddocumentlist within the calling context only.
-
getRecordType
- Returns:
- 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=userto resolve an account-wide identity schema, orsurface=entityto resolve one from your own context plus the tenant-wide home (see thesurfaceparameter). A type name may have several schemas in one context — a shared base, plus per-owner variants declared viabasedOn— and resolution shadows by ownership: your ownuserId- orscope-owned variant wins if you have one, otherwise the shared base. For a scoped credential the owner is always your own token identity;userId/scopehere only apply as an explicit owner selector for a root API key (a scoped credential's own identity always governs resolution, and ascopefilter still narrows the result afterward regardless of credential type).
-
getStartFrom
- Returns:
- Pagination cursor. Pass the
nextCursorreturned by the previous page to fetch the next page; omit it for the first page. The cursor is opaque — echo it back unchanged, and do not parse it or construct one. Keep every other query parameter identical while paging: a cursor is valid only for the exact query that returned it, and reusing one against a different query is rejected with a 400.
-
getLimit
- Returns:
- Maximum number of schemas to return per page (1–100; defaults to 20).
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-