Set Codes Status
Changed onSets selected codes to the specified status for the given configuration ID.
If update_beyond_rendered_set is false, we update status for only the specified code_ids within the rendered page.
If update_beyond_rendered_set is true, we skip any codes within code_ids_to_skip and update status for all other codes that don't get clipped away by the passed-in filters
Args: configuration_id (UUID): ID of the configuration to update update_beyond_rendered_set (bool): Whether the action should be only within the rendered codes or include all codes. code_ids (list[UUID]): List of code IDs to specifically action. Used in the "within cursor" flow. code_ids_to_skip (list[UUID]): List of code IDs to skip since they've been manually actioned by the user. filters (FilterInput): Filter input coming from the client to build the "complete" set of codes to bulk select status (Literal['included', 'excluded'): Set codes as 'included' or 'excluded' user (DbUser): The logged-in user db (AsyncDatabaseConnection): Database connection
Raises: HTTPException: 404 if configuration can't be found
Returns: list[UUID]: Code IDs that had their status changed
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
Query parameters
Request body
Response
Successful Response
Changes
- breaking
added the new required
queryrequest parameterupdate_beyond_rendered_set - breaking
added the new required request property
- breaking
added the new required request property
- breaking
the request's body type changed from
arraytoobject - info
added the new optional
queryrequest parametercode_systems - info
added the new optional
queryrequest parametersearch - info
added the new optional
queryrequest parametersources - info
added the new optional
queryrequest parameterstatuses
- breaking
- info
endpoint added
- info