MCPcopy
hub / github.com/logto-io/logto / create

Method create

packages/integration-tests/src/api/factory.ts:28–30  ·  view source on GitHub ↗
(data: PostData)

Source from the content-addressed store, hash-verified

26 constructor(public readonly path: string) {}
27
28 async create(data: PostData): Promise<Schema> {
29 return transform(await authedAdminApi.post(this.path, { json: data }).json<Schema>());
30 }
31
32 async getList(params?: URLSearchParams): Promise<Schema[]> {
33 return transform(

Calls 1

transformFunction · 0.70

Tested by 4

createRuleMatrixFunction · 0.36
initOrganizationsFunction · 0.36
prepareFunction · 0.36