Create a new piece of data

Create an invividual resource of a certain type about a certain subject.

It is not possible to choose your own resource identifier (e.g. to express semantics about the resource). After creation, the URI of the resource will be provided in the Location header of the HTTP response. If you want to add your own metadata to express semantics about the resource, you can do so using the Labels header.

It is not possible to use this endppoint to add resources for types or subjects that do not exist yet. If you want to create a new type or subject, you can do so via the authorisation agent.

Query Params
string
required

The URL-encoded URI that represents the type of data for which the resource should be created.

string
required

The URL-encoded URI that represents the data subject for whom the resource should be created.

Headers
string

If provided, this string will be set as the value of the X-Request-ID response header.

string

If provided, this string will be set as the value of the X-Correlation-ID response header.

string
required

A DPoP bound Solid JWT token containing at least three claims: sub, azp and iss.

string
required

The DPoP proof for the Solid JWT token, endpoint and http method.

string

A comma separated list of URIs that identify the purposes for which data is being read. For example https://dbpedia.org/marketing/, https://dbpedia.org/direct-mailing/. Depending on the tenant, this field can be required or not.

string
string
required

Mandatory. The IANA media type template. For example application/json.

string

A comma separated list of labels for this resource. Labels can be used to provide custom metadata to the resource.

string

If provided, this value will be used in the reponse to enable cross origin resource sharing.

Responses

purpose_header_required_but_not_present
purpose_header_invalid
legal_basis_header_required_but_not_present
legal_basis_header_invalid
labels_header_invalid
content_type_unknown
content_type_missing
x_correlation_id_invalid
x_request_id_invalid
type_query_parameter_missing
type_query_parameter_invalid
subject_query_parameter_missing
subject_query_parameter_invalid
body_missing
resource_too_large

tenant_not_found

origin_server_not_available
origin_server_status_code_400
origin_server_status_code_401
origin_server_status_code_403
origin_server_status_code_404
origin_server_status_code_4xx
origin_server_status_code_500
origin_server_status_code_5xx

conditional_http_requests_not_yet_supported
tenant_operating_mode_is_read_only
tenant_operating_mode_not_yet_supported
tenant_operating_mode_is_read_only

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json