Skip to main content
POST
/
namespaces
/
{namespace}
/
worlds
/
{slug}
/
import
Import RDF into a world
curl --request POST \
  --url https://api.wazoo.dev/namespaces/{namespace}/worlds/{slug}/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": "<string>",
  "contentType": "application/n-quads",
  "source": "<string>"
}
'
{
  "error": {
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required
slug
string
required

Body

application/json
data
string
required

Base64-encoded RDF document.

contentType
string
default:application/n-quads
source

Optional; defaults to the world identified by the URL path.

Response

No Content