Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Dataverse Replace Files In Dataset API
description: Open source research data repository software.
version: '6.8'
tags:
- name: replaceFilesInDataset
description: Replace a file to a dataset
paths:
/datasets/{id}/replaceFiles:
post:
tags:
- replaceFilesInDataset
summary: Replace a set of files to a dataset
operationId: Datasets_replaceFilesInDataset
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
multipart/form-data:
schema:
type: string
responses:
'200':
description: Files replaced successfully to dataset
/files/{id}/replace:
post:
tags:
- replaceFilesInDataset
summary: Replace a file on a dataset
description: Replace a file to a dataset
operationId: Files_replaceFileInDataset
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
multipart/form-data:
schema:
type: string
responses:
'200':
description: File replaced successfully on the dataset