Update Layer
Changed onUpdate a layer with the provided data.
Args: request: Layer update request containing layer ID and fields to update layer_service: Service for handling layer operations enrichment_service: Service for handling enrichment operations
Returns: Response containing success message and updated layer
Raises: HTTPException: If layer not found or no fields provided for update
Request
- Base URLhttps://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.maia-analytics.com/api/v1/layer/{layer_id}
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
- warning
added the new
durationenum value to the/////response property for the response status
- warning
- breaking
removed the enum value
discovery_allowanceof the request property///// - warning
added the new
budget_exhaustedenum value to the//response property for the response status - warning
added the new
budget_unavailableenum value to the//response property for the response status - warning
added the new
confirmation_requiredenum value to the//response property for the response status - warning
added the new
paid_access_blockedenum value to the//response property for the response status - warning
added the new
paid_balanceenum value to the///response property for the response status - warning
added the new
run_unaffordableenum value to the//response property for the response status - info
added the new
paid_balanceenum value to the request property///// - info
added the optional property
//to the response with the status - info
removed the
discovery_allowanceenum value from the///response property for the response status - info
removed the
discovery_allowance_confirmation_requiredenum value from the//response property for the response status - info
removed the
discovery_allowance_exhaustedenum value from the//response property for the response status - info
removed the
discovery_allowance_run_unaffordableenum value from the//response property for the response status - info
removed the
discovery_allowance_unavailableenum value from the//response property for the response status - info
added the required property
//to the response with the status
- breaking