layer

Update 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 body

namestring nullable
style_configobject nullable
base_attributesobject nullable
enrichmentsobject nullable
column_display_name_updatesobject nullable

Response

Successful Response

messagestring required

Changes

Changed in 10 of the 30 revisions of this API.41030

    • ●

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

      response-property-enum-value-added

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 604ea84d0ff7168See the full diff
    • ▲

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

      request-property-enum-value-removed

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ○

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

      request-property-enum-value-added

    • ○

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

      response-optional-property-added

    • ○

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

      response-property-enum-value-removed

    • ○

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

      response-property-enum-value-removed

    • ○

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

      response-property-enum-value-removed

    • ○

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

      response-property-enum-value-removed

    • ○

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

      response-property-enum-value-removed

    • ○

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

      response-required-property-added

    • ●

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

      response-property-enum-value-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ●

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

      response-property-enum-value-added

  • b8fec14143f213See the full diff
    • ▲

      response property anyOf[subschema #2: EnrichmentUpdateApprovalRequiredResponse]/detail/preview/creditCost list-of-types was widened by adding types null to media type application/json of response 409

      response-property-list-of-types-widened

    • ○

      added the new optional request property /////

      new-optional-request-property

    • ○

      request property ///// list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • ○

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

      response-optional-property-added

  • 136e4af4d51426See the full diff
    • ▲

      the response's body type changed from object to no type for status

      response-body-type-changed

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ○

      added the new optional request property /////

      new-optional-request-property

    • ○

      added the new optional request property /////

      new-optional-request-property

    • ○

      added the new optional request property /////

      new-optional-request-property

    • ○

      added the new optional request property /////

      new-optional-request-property

    • ○

      added the new optional request property /////

      new-optional-request-property

    • ○

      added to the response body anyOf list for the response status

      response-body-any-of-added

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the new optional request property ///

      new-optional-request-property

    • ○

      added the non-success response with the status

      response-non-success-status-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog