-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrdf-repositories.apib
52 lines (35 loc) · 1.47 KB
/
rdf-repositories.apib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Group RDF Repositories
## Querying data [/]
The RDF repositories API are accessible at the address ```https://rdf.datagraft.net/```.
This endpoint exposes the [OpenRDF Sesame API](http://rdf4j.org/sesame/2.7/docs/system.docbook?view).
**However the authentication is still required.** Using the Authorization header as defined in the beginning of this document.
## RDF repository [/catalog/distributions/repository]
### Provision RDF repository [PUT]
Use `/catalog/distributions/repository_async` to provision the repository asynchronously.
This service returns a repository URL.
+ Parameters
+ distrib%2Did: (required, URI) -
URI of the distribution
+ repository%2Did: (optional, text) -
Identifier for the new repository (lowercased, alphanumerical)
+ Request
+ Headers
Authorization: Basic YXBpa2V5OmFwaXBhc3M=
distrib-id: http://dapaas.eu/users/15052/distribution/my-distribution-1
repository-id: my-new-repository
+ Response 200
{
"access-url": "<repository url>"
}
### Release RDF repository [DELETE]
+ Parameters
+ distrib%2Did: (required, URI) -
URI of the distribution
+ repository%2Did: (required, text) -
Identifier for the new repository (lowercased, alphanumerical)
+ Request
+ Headers
Authorization: Basic YXBpa2V5OmFwaXBhc3M=
distrib-id: http://dapaas.eu/users/15052/distribution/my-distribution-1
repository-id: my-new-repository
+ Response 200