File tree Expand file tree Collapse file tree 1 file changed +17
-20
lines changed Expand file tree Collapse file tree 1 file changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -104,28 +104,25 @@ Create a new terminusDB database
104
104
105
105
``` js
106
106
107
-
108
107
var details= {
109
- " @context" : {
110
- " rdfs" : " http://www.w3.org/2000/01/rdf-schema#" ,
111
- " terminus" : " http://terminusdb.com/schema/terminus#" ,
112
- " _" : " http://localhost:6363/myFirstTerminusDB/"
113
- },
114
- " @type" : " terminus:Database" ,
115
- " rdfs:label" : {
116
- " @language" : " en" ,
117
- " @value" : " new db tests"
118
- },
119
- " rdfs:comment" : {
120
- " @language" : " en" ,
121
- " @value" : " new db description"
122
- },
123
- " terminus:allow_origin" : {
124
- " @type" : " xsd:string" ,
125
- " @value" : " *"
126
- },
127
- " @id" : " http://localhost:6363/myFirstTerminusDB"
108
+ " @context" : {
109
+ " rdfs" : " http://www.w3.org/2000/01/rdf-schema#" ,
110
+ " terminus" : " http://terminusdb.com/schema/terminus#"
111
+ },
112
+ " @type" : " terminus:Database" ,
113
+ " rdfs:label" : {
114
+ " @language" : " en" ,
115
+ " @value" : " my first test"
116
+ },
117
+ " rdfs:comment" : {
118
+ " @language" : " en" ,
119
+ " @value" : " document test"
120
+ },
121
+ " terminus:allow_origin" : {
122
+ " @type" : " xsd:string" ,
123
+ " @value" : " *"
128
124
}
125
+ }
129
126
130
127
// Create a new Database in the current terminusDB server using the terminusDB server Api key
131
128
// dburl is the new Database Id
You can’t perform that action at this time.
0 commit comments