ETL

Change a plan's display name or description

Changed on

Changes only the fields present in the body; null or an empty string clears a field. The key and the plan's data cannot be changed. Changes are not versioned.

patch/etl/v1/plans/{key}

Request

  • Base URL
    https://api.minubo.com
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

keystring required

Plan key (name)

Request body

displayNamestring

Display name, at most 255 characters.

descriptionstring

Description, at most 10000 characters.

Response

The changed plan

idinteger required
keystring required

The plan name as it appears in the plan data (planName); identifies the plan in the URL.

displayNamestring
descriptionstring
status'staged' | 'loaded' | 'failed' | 'deleting' required

staged: created by POST /etl/v1/plans, not yet loaded by an ETL run. loaded: in the ClickHouse table since the last completed ETL run. failed: staged, but still not loaded 36 hours after its creation (statusMessage says why); becomes loaded if it arrives later, delete it to reuse the name. deleting: deletion requested; the next ETL run deletes its files and then the plan.

statusMessagestring
source'sftp' | 'api' required

Where the plan comes from: sftp (generic plan files uploaded via SFTP) or api (this API).

measuresstring[] required
attributesstring[] required
startDatestring date

First day with planned values (ISO date).

endDatestring date

Last day with planned values (ISO date).

Example response

{
  "startDate": "2027-01-01",
  "endDate": "2027-12-31"
}

Changes