Prepare to upload a new version of a dataset.

Prepare to upload a new version of a dataset.

/accounts/{account_identifier}/dlp/datasets/{dataset_id}/upload

post

DLP Datasets

dlp-datasets-create-version

Debug "planAvailability"

null

Debug "tokenPermissions"

null

Debug "parameters"

[
  {
    "in": "path",
    "name": "account_identifier",
    "required": true,
    "schema": {
      "type": "string"
    }
  },
  {
    "in": "path",
    "name": "dataset_id",
    "required": true,
    "schema": {
      "format": "uuid",
      "type": "string"
    }
  }
]

Debug "requestBody"

null

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "properties": {
                "errors": {
                  "items": {
                    "properties": {
                      "code": {
                        "format": "int32",
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "messages": {
                  "items": {
                    "properties": {
                      "code": {
                        "format": "int32",
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "result_info": {
                  "allOf": [
                    {
                      "properties": {
                        "count": {
                          "description": "total number of pages",
                          "format": "int32",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "page": {
                          "description": "current page",
                          "format": "int32",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "per_page": {
                          "description": "number of items per page",
                          "format": "int32",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "total_count": {
                          "description": "total number of items",
                          "format": "int32",
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "page",
                        "per_page",
                        "count",
                        "total_count"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "success": {
                  "type": "boolean"
                }
              },
              "required": [
                "success",
                "errors",
                "messages"
              ],
              "type": "object"
            },
            {
              "properties": {
                "result": {
                  "properties": {
                    "max_cells": {
                      "format": "int64",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "secret": {
                      "format": "password",
                      "type": "string"
                    },
                    "version": {
                      "format": "int64",
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "max_cells"
                  ],
                  "type": "object"
                }
              },
              "type": "object"
            }
          ]
        }
      }
    },
    "description": "Dataset version created successfully"
  },
  "4XX": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "errors": {
              "items": {
                "properties": {
                  "code": {
                    "format": "int32",
                    "minimum": 1000,
                    "type": "integer"
                  },
                  "message": {
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "message"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "messages": {
              "items": {
                "properties": {
                  "code": {
                    "format": "int32",
                    "minimum": 1000,
                    "type": "integer"
                  },
                  "message": {
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "message"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "result": {
              "nullable": true,
              "type": "object"
            },
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "errors",
            "messages"
          ],
          "type": "object"
        }
      }
    },
    "description": "Dataset version creation failed"
  }
}

Debug "security"

[
  {
    "api_token": []
  },
  {
    "api_email": [],
    "api_key": []
  },
  {
    "api_email": [],
    "api_key": []
  }
]