Methods (3)

▶ listRegistryTypes() You can provide a client instance returned by `createClient()` instead of API ref →
platform-registries.listRegistryTypes({
  query: { q?: string, limit?: number, offset?: number, sort?: string },
})
Parameters
q search → string query optional
limit number query optional
offset number query optional
sort string query optional
▶ listRegistryEntries(type) List a registry's entries API ref →
platform-registries.listRegistryEntries({
  path: { type: string },
  query: { q?: string, limit?: number, offset?: number, sort?: string },
})
Parameters
type string path required
q search → string query optional
limit number query optional
offset number query optional
sort string query optional
▶ getRegistryEntry(type, entryId) Get a registry entry API ref →
platform-registries.getRegistryEntry({
  path: { type: string, entryId: string },
})
Parameters
type string path required
entryId string path required

Types (4)

▶ RegistryType 2 fields
interface RegistryType {
type: string
total: number
}
▶ RegistryTypeList 4 fields
interface RegistryTypeList {
total: number
limit: number
offset: number
hasNext?: boolean
}
▶ RegistryEntry 3 fields
interface RegistryEntry {
id: string
description: string
deprecated?: boolean
}
▶ RegistryEntryList 4 fields
interface RegistryEntryList {
total: number
limit: number
offset: number
hasNext?: boolean
}