Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NGSI Linked Data
NGSI-LD
Commits
2eddde67
Commit
2eddde67
authored
Nov 20, 2018
by
canterafonsj
Browse files
Entity Fragment
parent
debd3734
Changes
2
Hide whitespace changes
Inline
Side-by-side
spec/updated/entity-attrs-spec.json
View file @
2eddde67
...
...
@@ -57,7 +57,7 @@
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#"
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#
/definitions/EntityFragment
"
}
}
}
...
...
@@ -111,7 +111,7 @@
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#"
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#
/definitions/EntityFragment
"
}
}
}
...
...
@@ -170,7 +170,7 @@
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#"
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#
/definitions/EntityFragment
"
}
}
}
...
...
spec/updated/full_api.json
View file @
2eddde67
...
...
@@ -195,6 +195,19 @@
"type"
:
"integer"
,
"minimum"
:
1
}
},
{
"name"
:
"options"
,
"description"
:
"Options dictionary"
,
"in"
:
"query"
,
"required"
:
false
,
"schema"
:
{
"type"
:
"string"
,
"enum"
:
[
"keyValues"
,
"sysAttrs"
]
}
}
],
"responses"
:
{
...
...
@@ -203,23 +216,10 @@
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$schema"
:
"http://json-schema.org/schema#"
,
"id"
:
"https://uri.etsi.org/ngsi-ld/schema/EntityList.json"
,
"title"
:
"NGSI-LD EntityList"
,
"description"
:
"NGSI-LD EntityList"
,
"definitions"
:
{
"EntityList"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/paths/~1entities~1%7BentityId%7D~1attrs~1/post/requestBody/content/application~1json%3Bapplication~1ld%2Bjson/schema/definitions/Entity"
}
}
},
"allOf"
:
[
{
"$ref"
:
"#/paths/~1entities~1/get/responses/200/content/application~1json%3Bapplication~1ld%2Bjson/schema/definitions/EntityList"
}
]
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/paths/~1entities~1%7BentityId%7D~1attrs~1/post/requestBody/content/application~1json%3Bapplication~1ld%2Bjson/schema/definitions/Entity"
}
},
"examples"
:
{
"simple"
:
{
...
...
@@ -342,6 +342,9 @@
"minLength"
:
1
,
"description"
:
"NGSI-LD Name"
}
},
{
"$ref"
:
"#/paths/~1entities~1/get/parameters/11"
}
],
"responses"
:
{
...
...
@@ -350,7 +353,7 @@
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$ref"
:
"#/paths/~1entities~1%7BentityId%7D~1attrs~1/post/requestBody/content/application~1json%3Bapplication~1ld%2Bjson/schema"
"$ref"
:
"#/paths/~1entities~1%7BentityId%7D~1attrs~1/post/requestBody/content/application~1json%3Bapplication~1ld%2Bjson/schema
/definitions/Entity
"
},
"examples"
:
{
"simple"
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment