Powered by Stoplight
post

/projects/{owner}/{id}/queries

Create a saved query in a specified project.

Authorization

oauth2 - authorizationCode

Request Parameters

2 Path Parameters

Request Body

1 Example
Schema
object
name
string

Query name.

required
content
string

The actual query text to be executed.

required
language
string

The language in which this query is written. Can be either ‘SPARQL’ or ‘SQL’.

required
published
boolean

Indicates if this query should be visible to anyone with access to its dataset or project.

Responses

OK The request has succeeded.

1 Example
Schema
object
body
string

Query body.

created
string

Date and time when the query was created.

id
string

query unique identifier

language
string

Type of language in which this query is written. Can be either ‘SPARQL’ or ‘SQL’.

name
string

Query name.

owner
string

User name and unique identifier of the creator of the dataset.

updated
string

Date and time when the query was updated.

version
string

Query version id.

parameters
object

Parameters declared in the query body

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
owner
id
$$.env
1 variable not set
oauth_access_token