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
6602d101
Commit
6602d101
authored
Nov 22, 2018
by
canterafonsj
Browse files
Batch operation result
parent
e627bdbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
schema/BatchOperationResult.json
View file @
6602d101
{
"$schema"
:
"http://json-schema.org/schema#"
,
"id"
:
"https://
uri
.etsi.org/
ngsi-ld
/schema/BatchOperationResult.json"
,
"id"
:
"https://
forge
.etsi.org/
gitlab/NGSI-LD/NGSI-LD/raw/master
/schema/BatchOperationResult.json"
,
"title"
:
"NGSI-LD Batch Operation Result"
,
"description"
:
"NGSI-LD Batch Operation Result"
,
"definitions"
:
{
...
...
@@ -12,22 +12,29 @@
"error"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
}
}
},
"type"
:
"object"
,
"properties"
:
{
"success"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"uri"
}
},
"error"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/BatchEntityError"
"BatchOperationResult"
:
{
"type"
:
"object"
,
"properties"
:
{
"success"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"uri"
}
},
"error"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/BatchEntityError"
}
}
}
}
}
},
"allOf"
:
[
{
"$ref"
:
"#/definitions/BatchOperationResult"
}
]
}
spec/updated/entity-operations-spec.json
0 → 100644
View file @
6602d101
{
"openapi"
:
"3.0.1"
,
"info"
:
{
"title"
:
"NGSI-LD Entity Operations"
,
"version"
:
"latest"
},
"components"
:
{
},
"paths"
:
{
"/entityOperations/create"
:
{
"post"
:
{
"description"
:
"Batch Entity creation"
,
"operationId"
:
"batchEntityCreation"
,
"requestBody"
:
{
"required"
:
true
,
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/EntityList.json#/definitions/EntityList"
}
}
}
},
"responses"
:
{
"200"
:
{
"description"
:
"Success"
,
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json#/definitions/BatchOperationResult"
}
}
}
},
"400"
:
{
"description"
:
"Bad request"
,
"content"
:
{
"application/json;application/ld+json"
:
{
"schema"
:
{
"$ref"
:
"https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
}
}
}
},
}
}
},
"/entityOperations/update"
:
{
},
"/entityOperations/upsert"
:
{
},
"/entityOperations/delete"
:
{
}
}
}
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