Foundry Worker Order Chip

Endpoints for managing chip orders assigned to a foundry worker.

'/foundry-workers/{id}/order-chips'

GET

async find(
    @param.path.string('id') id: string,
    @param.query.object('filter') filter?: Filter<OrderChip>,
  ): Promise<OrderChip[]>

Auth: Yes RBAC: Admin, FoundryWorker (owner)

Get chip orders assigned to a foundry worker.

'/foundry-workers/{id}/order-chips/{chipOrderId}'

PATCH

async updateById(
    @param.path.string('id') id: string,
    @param.path.string('chipOrderId') chipOrderId: string,
    @requestBody({
      content: {
        'application/json': {
          schema: getModelSchemaRef(OrderChip, {partial: true}),
        },
      },
    })
    orderChip: OrderChip,
  ): Promise<void>

Auth: Yes RBAC: Admin, FoundryWorker (owner)

Update a specific chip order assigned to a foundry worker.

'/foundry-workers/{id}/downloadFile'

GET

async downloadFile(
    @param.path.string('id') id: string,
    @param.query.string('chipOrderId') chipOrderId: string,
    @inject(RestBindings.Http.RESPONSE) response: Response,
  ): Promise<void>

Auth: Yes RBAC: Admin, FoundryWorker (owner)

Download a file for a specific chip order assigned to a foundry worker.

Last updated