Find a guide, feature, or API endpoint. Try “FTP”, “alerts”, or “instruments”.

Browse documentation

Docs/API reference / Parsers

Restore parsers

Requires `developer_api.parsers.restore` on the project-scoped Developer API connection. Use the API origin supplied for your deployment. Unknown query parameters and unexpected request bodies are rejected.

POST/dev-api/v1/p/{project_id}/parsers/{parser_id}/restoreAll endpoints ↗

The request panel saves credentials and API settings in this browser. Privacy details

POST
/dev-api/v1/p/{project_id}/parsers/{parser_id}/restore

Authorization

developerApiKey
AuthorizationBearer <token>

Project-scoped Developer API connection key. Grant only the required operation permissions.

In: header

Path Parameters

project_id*string
Match.*\S.*
Length1 <= length <= 128
parser_id*string
Match.*\S.*
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

bash
curl -X POST "https://example.com/dev-api/v1/p/string/parsers/string/restore"
json
{
  "request_id": "string",
  "data": {
    "lifecycle_state": "active",
    "archived_at": "2019-08-24T14:15:22Z",
    "archived_by": {
      "type": "user",
      "id": "string"
    },
    "id": "string",
    "project_id": "string",
    "name": "string",
    "type": "csv",
    "version": 1,
    "canonical_size_bytes": 1,
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "configuration": {
      "timestamp_order": "oldest_first",
      "delimiter": "comma",
      "decimal_separator": "dot",
      "header": {
        "present": true,
        "row_number": 1
      },
      "first_data_row": 1,
      "timestamp": {
        "columns": [
          {
            "header_name": "string",
            "column_number": 1
          }
        ],
        "join_with": "string",
        "input_format": "string"
      },
      "instrument": {
        "name_source": "base_name",
        "name_column": {
          "header_name": "string",
          "column_number": 1
        },
        "prefix_variable_names": true
      },
      "missing_value_markers": [
        "string"
      ],
      "data_layout": {
        "layout": "one_data_point_per_row",
        "variable_mappings": [
          {
            "source_column": {
              "header_name": "string",
              "column_number": 1
            },
            "variable_name": "string",
            "value_type": "decimal"
          }
        ]
      }
    }
  }
}