layer

Update 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

put/api/v1/layer/{layer_id}

Request

  • Base URL
    https://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maia-analytics.com/api/v1/layer/{layer_id}
  • Auth
    HTTP bearer

Request body

namestring nullable
style_configobject nullable
base_attributesobject nullable
enrichmentsobject nullable
column_display_name_updatesobject nullable

Response

Successful Response

messagestring required

Changes

    • warning

      added the new duration enum value to the ///// response property for the response status

    • breaking

      removed the enum value discovery_allowance of the request property /////

    • warning

      added the new budget_exhausted enum value to the // response property for the response status

    • warning

      added the new budget_unavailable enum value to the // response property for the response status

    • warning

      added the new confirmation_required enum value to the // response property for the response status

    • warning

      added the new paid_access_blocked enum value to the // response property for the response status

    • warning

      added the new paid_balance enum value to the /// response property for the response status

    • warning

      added the new run_unaffordable enum value to the // response property for the response status

    • info

      added the new paid_balance enum value to the request property /////

    • info

      added the optional property // to the response with the status

    • info

      removed the discovery_allowance enum value from the /// response property for the response status

    • info

      removed the discovery_allowance_confirmation_required enum value from the // response property for the response status

    • info

      removed the discovery_allowance_exhausted enum value from the // response property for the response status

    • info

      removed the discovery_allowance_run_unaffordable enum value from the // response property for the response status

    • info

      removed the discovery_allowance_unavailable enum value from the // response property for the response status

    • info

      added the required property // to the response with the status