Foundry Worker
Endpoints to manage foundry workers.
'/foundry-workers'
POST
async create(
@requestBody({
content: {
'application/json': {
schema: {
type: 'object',
},
},
},
})
foundryWorker: DTO<FoundryWorker & User>,
): Promise<FoundryWorker>Auth: Yes RBAC: Admin
Create a foundry worker user.
GET
async find(
@param.filter(FoundryWorker) filter?: Filter<FoundryWorker>,
): Promise<FoundryWorker[]>Auth: Yes RBAC: Admin
Search for foundry users.
'/foundry-workers/{id}'
GET
async findById(
@param.path.string('id') id: string,
@param.filter(FoundryWorker, { exclude: 'where' })
filter?: FilterExcludingWhere<FoundryWorker>,
): Promise<FoundryWorker>Auth: Yes RBAC: Admin, FoundryWorker (owner)
Search for a specific foundry worker by ID.
DEL
async deleteById(@param.path.string('id') id: string): Promise<void>Auth: Yes RBAC: Admin, FoundryWorker (owner)
Delete a specific foundry worker by ID.
PATCH
async updateById(
@param.path.string('id') id: string,
@requestBody({
content: {
'application/json': {
schema: getModelSchemaRef(FoundryWorker, { partial: true }),
},
},
})
foundryWorker: FoundryWorker,
): Promise<void>Auth: Yes RBAC: Admin, FoundryWorker (owner)
Update a specific foundry worker by ID.
Last updated