Download OpenAPI specification:Download
The data core module complies with the NGSI-LD API. It partially supports NGSI-LD API standard, and additionally provides HTTP API for data core internal data management and API for utilizing KAFKA interface. You can find out more about City Data Hub at http://citydatahub.kr/.
Data model of water resource data, data set information creation/modification/deletion event to provision server information is created.
id required | string |
type required | string |
description | string |
provisionUri required | string |
provisionProtocol required | string |
provisionOrder required | integer |
enabled required | boolean |
{- "id": "dataServiceBroker01",
- "type": "dataServiceBroker",
- "description": "description1234",
- "provisionProtocol": "http",
- "provisionOrder": 2,
- "enabled": true
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Data model of water resource data, data set information creation/modification/deletion event to all of provision server information is retrieved.
type | string Example: type=dataServiceBroker, bigDataStorageHandler, ingestInterface |
provisionProtocol | string Example: provisionProtocol=http, kafka |
enabled | boolean |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Data model of water resource data, data set information creation/modification/deletion event to provision server information is updated.
id required | string Example: dataServiceBroker01 Provisioning Server ID |
type | string |
description | string |
provisionUri required | string |
provisionProtocol required | string |
enabled required | boolean |
{- "type": "dataServiceBroker",
- "description": "description1234555333",
- "provisionProtocol": "http",
- "enabled": true
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Data model of water resource data, data set information creation/modification/deletion event to provision server information is deleted.
id required | string Example: ingestInterface03 Provisioning Server ID |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Data model of water resource data, data set information creation/modification/deletion event to each provision server information is retrieved.
id required | string Example: dataServiceBroker01 Provisioning Server ID |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Data model information representing schema information of water resource data is created. Model information includes namespace, type, and version. Based on the created data model, quality check is performed on water resource data.
id required | string |
type required | string |
typeUri required | string |
name | string |
context required | Array of strings |
description | string |
indexAttributeNames | Array of strings |
required | Array of objects (DataModelAttribute) |
{- "id": "primerCustomer",
- "type": "Customer",
- "name": "string",
- "context": [
- "string"
], - "description": "string",
- "indexAttributeNames": [
- "string"
], - "attributes": [
- {
- "attributeUri": "string",
- "name": "string",
- "description": "string",
- "attributeType": "Property, GeoProperty, Relationship",
- "hasObservedAt": true,
- "hasUnitCode": true,
- "isRequired": true,
- "accessMode": "Read-only",
- "greaterThan": 0,
- "greaterThanOrEqualTo": 0,
- "lessThanOrEqualTo": 0,
- "lessThan": 0,
- "maxLength": "3,3",
- "minLength": "3,3",
- "valueType": "GeoJson, string",
- "valueEnum": [
- "KR, EN"
], - "objectMembers": [
- {
- "name": "string",
- "description": "string",
- "isRequired": true,
- "greaterThan": 0,
- "greaterThanOrEqualTo": 0,
- "lessThanOrEqualTo": 0,
- "lessThan": 0,
- "maxLength": "3,3",
- "minLength": "3,3",
- "valueType": "GeoJson, string",
- "valueEnum": [
- "KR, EN"
], - "objectMembers": [
- { }
]
}
], - "childAttributes": [
- { }
]
}
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Modify basic information except for the attribute information of the water resource data model.
id required | string |
id required | string |
type required | string |
typeUri required | string |
name | string |
context required | Array of strings |
description | string |
indexAttributeNames | Array of strings |
required | Array of objects (DataModelAttribute) |
{- "id": "primerCustomer",
- "type": "Customer",
- "name": "string",
- "context": [
- "string"
], - "description": "string",
- "indexAttributeNames": [
- "string"
], - "attributes": [
- {
- "attributeUri": "string",
- "name": "string",
- "description": "string",
- "attributeType": "Property, GeoProperty, Relationship",
- "hasObservedAt": true,
- "hasUnitCode": true,
- "isRequired": true,
- "accessMode": "Read-only",
- "greaterThan": 0,
- "greaterThanOrEqualTo": 0,
- "lessThanOrEqualTo": 0,
- "lessThan": 0,
- "maxLength": "3,3",
- "minLength": "3,3",
- "valueType": "GeoJson, string",
- "valueEnum": [
- "KR, EN"
], - "objectMembers": [
- {
- "name": "string",
- "description": "string",
- "isRequired": true,
- "greaterThan": 0,
- "greaterThanOrEqualTo": 0,
- "lessThanOrEqualTo": 0,
- "lessThan": 0,
- "maxLength": "3,3",
- "minLength": "3,3",
- "valueType": "GeoJson, string",
- "valueEnum": [
- "KR, EN"
], - "objectMembers": [
- { }
]
}
], - "childAttributes": [
- { }
]
}
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Generate data set information of water resource data.
id required | string |
name required | string |
description | string |
updateInterval required | string |
category required | string |
providerOrganization required | string |
providerSystem required | string |
isProcessed required | boolean |
ownership required | string |
keywords | Array of strings |
license required | string |
providingApiUri | string |
restrictions | string |
datasetExtension | string |
datasetItems required | string |
targetRegions required | string |
sourceDatasetIds | Array of strings |
dataStoreUri required | Array of strings |
qualityCheckEnabled required | string |
dataIdentifierType | string |
datamodelId | string |
{- "id": "dataset001",
- "name": "Daegu",
- "description": "Daegu",
- "updateInterval": "31th 00:00",
- "category": "X01",
- "providerOrganization": "Daegu",
- "providerSystem": "Daegu",
- "isProcessed": "D001",
- "ownership": "Daegu",
- "keywords": [
- [
- "BUS",
- "AIR"
]
], - "license": "L001",
- "restrictions": "Change throughout the year",
- "datasetExtension": "XML, CSV",
- "datasetItems": "Bus Number",
- "targetRegions": "Nationwide",
- "sourceDatasetIds": [
- [
- "Daegu City Population in 2018"
]
], - "dataStoreUri": [
- "string"
], - "qualityCheckEnabled": true,
- "dataIdentifierType": "daeguBus",
- "datamodelId": "primerCustomer"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Retrieve the entire list of data sets of water resource data.
name | string |
updateInterval | string |
category | string |
providerOrganization | string |
providerSystem | string |
isProcessed | string |
ownership | string |
license | string |
datasetItems | string |
targetRegions | string |
dataStoreUri | string Example: dataStoreUri=Kafka Topic&dataStoreUri=Hive URI&dataStoreUri=Postgres URI&dataStoreUri=Hbase URI |
qualityCheckEnabled | string |
datamodelId | string |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Modify data set information of water resource data.
id required | string Example: dataset001 |
name | string |
description | string |
updateInterval | string |
category | string |
providerOrganization | string |
providerSystem | string |
isProcessed | string |
ownership | string |
keywords | Array of strings |
license | string |
providingApiUri | string |
restrictions | string |
datasetExtension | string |
datasetItems | string |
targetRegions | string |
sourceDatasetIds | Array of strings |
qualityCheckEnabled | string |
dataIdentifierType | string |
datamodelId | string |
{- "name": "Daegu",
- "description": "Daegu",
- "updateInterval": "31th 00:00",
- "category": "X01",
- "providerOrganization": "Daegu",
- "providerSystem": "Daegu",
- "isProcessed": "D001",
- "ownership": "Daegu",
- "keywords": [
- [
- "BUS",
- "AIR"
]
], - "license": "L001",
- "restrictions": "Change throughout the year",
- "datasetExtension": "XML, CSV",
- "datasetItems": "Bus Number",
- "targetRegions": "Nationwide",
- "sourceDatasetIds": [
- [
- "Daegu City"
]
], - "qualityCheckEnabled": true,
- "dataIdentifierType": "daeguBus",
- "datamodelId": "primerCustomer"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Generate data set flow information of water resource data.
datasetId required | string Example: dataset001 |
description | string |
historyStoreType required | string |
enabled required | boolean |
required | Array of objects |
{- "description": "string",
- "historyStoreType": "partial, full, all",
- "enabled": true,
- "targetTypes": [
- {
- "type": "string",
- "bigDataStoreageTypes": [
- [
- "hive",
- "hbase"
]
]
}
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Modify data set flow information of water resource data.
datasetId required | string Example: dataset001 |
description | string |
historyStoreType required | string |
enabled required | boolean |
required | Array of objects |
{- "description": "string",
- "historyStoreType": "partial, full, all",
- "enabled": true,
- "targetTypes": [
- {
- "type": "string",
- "bigDataStoreageTypes": [
- [
- "hive",
- "hbase"
]
]
}
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Data model creation/modification/deletion events are transmitted based on provision server information.
requestId required | string |
eventTime required | string |
to required | string |
eventType required | string |
required | object (dataModelProvisionAttributes) |
{- "requestId": "string",
- "eventTime": "string",
- "to": "/datamodels/{id}",
- "eventType": "created, updated, deleted",
- "data": {
- "id": "string",
- "type": "string",
- "name": "string",
- "context": [
- "string"
], - "description": "string",
- "indexAttributeNames": [
- "string"
], - "attributes": [
- { }
]
}
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Data set creation/modification/deletion event is transmitted based on provision server information.
requestId required | string |
eventTime required | string |
to required | string |
eventType required | string |
required | object (DataSet) |
{- "requestId": "string",
- "eventTime": "string",
- "to": "/datasets",
- "eventType": "created",
- "data": {
- "id": "dataset001",
- "name": "Daegu",
- "description": "Daegu",
- "updateInterval": "31th 00:00",
- "category": "X01",
- "providerOrganization": "Daegu",
- "providerSystem": "Daegu",
- "isProcessed": "D001",
- "ownership": "Daegu",
- "keywords": [
- [
- "BUS",
- "AIR"
]
], - "license": "L001",
- "restrictions": "Change throughout the year",
- "datasetExtension": "XML, CSV",
- "datasetItems": "Bus Number",
- "targetRegions": "Nationwide",
- "sourceDatasetIds": [
- [
- "Daegu City Population in 2018"
]
], - "dataStoreUri": [
- "string"
], - "qualityCheckEnabled": true,
- "dataIdentifierType": "daeguBus",
- "datamodelId": "primerCustomer"
}
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
It is an HTTP interface that receives water resource data in a bundle and creates or updates it. The received data performs a quality check and returns the quality check result. - If URI QueryString options is 'update', it means Partial Upsert - If URI QueryString options is 'replace' or 'null', it means Full Upsert
datasetId required | string |
entities required | Array of objects (Entity) |
{- "datasetId": "be1853c7-4906-4fb0-b9c6-d547426eb7e5",
- "entities": [
- { }
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
datasetId required | string |
entities required | Array of objects (Entity) |
{- "datasetId": "be1853c7-4906-4fb0-b9c6-d547426eb7e5",
- "entities": [
- { }
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
datasetId required | string |
required | Array of objects |
{- "datasetId": "be1853c7-4906-4fb0-b9c6-d547426eb7e5",
- "entities": [
- {
- "id": "urn:datahub:OffStreetParking:yatap_01"
}
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Inquire the history of quality inspections performed on water resource data.
startTime required | string Example: startTime=2020-01-01 00:00:00 |
endTime required | string Example: endTime=2021-01-02 00:00:00 |
datasetId | string |
dataModelType | string |
dataModelNamespace | string |
dataModelVersion | string |
entityId | string |
isVerified | boolean |
smartSearchValue | string |
limit | integer |
offset | integer |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Inquire individual history of quality inspection performed on water resource data.
seq required | number Example: 211 |
{- "seq": 0,
- "testTime": "string",
- "datasetId": "string",
- "dataModelType": "string",
- "dataModelVersion": "string",
- "entityId": "string",
- "isVerified": true,
- "errorCode": "string",
- "errorCause": "string",
- "data": "string"
}
Inquire the number of successes/failures of quality inspections performed on water resource data.
startTime required | string Example: startTime=2020-01-01 00:00:00 |
endTime required | string Example: endTime=2021-01-02 00:00:00 |
datasetId | string |
dataModelType | string |
dataModelNamespace | string |
dataModelVersion | string |
entityId | string |
smartSearchValue | string |
{- "successCount": 0,
- "failureCount": 0
}
Generate authentication information of external interworking platform.
id required | string |
name required | string |
description | string |
receptionIps required | Array of strings |
receptionDatasetIds required | Array of strings |
dataInstancePrefix | string |
receptionClientIds required | Array of strings |
{- "id": "string",
- "name": "KETI",
- "description": "aabb",
- "receptionIps": [
- "127.0.0.1"
], - "receptionDatasetIds": [
- [
- "dataset001",
- "dataset002"
]
], - "dataInstancePrefix": "dataInstancePrefix_1",
- "receptionClientIds": [
- [
- "xMXQN15EuVUWmrzxDwy1",
- "BezLYnWjKXODd7jErzty"
]
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Modify the authentication information of the external interworking platform.
id required | string Example: cityhub10 |
name required | string |
description | string |
receptionIps | Array of strings |
receptionDatasetIds | Array of strings |
dataInstancePrefix | string |
receptionClientIds | Array of strings |
{- "name": "KETI",
- "description": "aabb",
- "receptionIps": [
- "127.0.0.1"
], - "receptionDatasetIds": [
- [
- "dataset001",
- "dataset002"
]
], - "dataInstancePrefix": "dataInstancePrefix_1",
- "receptionClientIds": [
- [
- "xMXQN15EuVUWmrzxDwy1",
- "BezLYnWjKXODd7jErzty"
]
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Delete the authentication information of the external interworking platform.
id required | string Example: cityhub10 |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Individually inquires the authentication information of the external interworking platform.
id required | string Example: cityhub10 |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
id | string |
type required | string |
name | string |
description | string |
required | Array of objects |
object | |
managementInterval | object |
object | |
observationSpace | object |
operationSpace | object |
expires | string |
endpoint required | string |
{- "id": "string",
- "type": "ContextSourceRegistration",
- "name": "string",
- "description": "string",
- "information": [
- {
- "entities": [
- {
- "id": "urn:datahub:OffStreetParking:yatap_01",
- "type": "kr.citydatahub.OffStreetParking:1.0"
}
], - "properties": [
- [
- "address",
- "streedAddress"
]
], - "relationships": [
- [
- "inAccident"
]
]
}
], - "observationInterval": {
- "start": "2020-11-17T20:48:09,290+09:00"
}, - "managementInterval": { },
- "location": {
- "type": "GeoProperty",
- "value": {
- "type": "MultiPolygon",
- "coordinates": [
- [
- 127.11132,
- 37.393653
]
]
}
}, - "observationSpace": { },
- "operationSpace": { },
- "expires": "string",
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
id | Array of strings Example: id=urn:datahub:OffStreetParking:yatap_01 |
type | string |
idPattern | string Example: idPattern=.*47 |
attrs | Array of strings Example: attrs=address |
q | string |
csf | string |
georel | string Example: georel=near;maxDistance==500 |
geometry | string |
coordinates | string Example: coordinates=[[[127.108712213155,37.4039308909918], [127.10871370495,37.4038047517174], [127.109571955085,37.403820218985], [127.109569815879,37.4030452782807], [127.112506377227,37.4030583117045], [127.11267716721,37.4029424517435], [127.112700664842,37.3999870997203], [127.112644515041,37.3999596467278], [127.10677152971,37.3999425268874], [127.106612244893,37.4000404436483], [127.105312496268,37.4029681361633], [127.105390591903,37.4030498229114], [127.10655398512,37.4030495953737], [127.10653318449,37.403851395132], [127.106645485308,37.403906306877], [127.108712213155,37.4039308909918]]] |
geoproperty | string Example: geoproperty=location |
timeproperty | string Example: timeproperty=observationInterval |
timerel | string Example: timerel=between |
time | string Example: time=2018-01-08T05:09:55+09:00 |
endtime | string Example: endtime=2029-08-15T04:22:58Z |
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
registrationId required | string Example: urn:ngsi-ld:ContextSourceRegistration:yatap_01 |
id | string |
type required | string |
name | string |
description | string |
required | Array of objects |
object | |
managementInterval | object |
object | |
observationSpace | object |
operationSpace | object |
expires | string |
endpoint required | string |
{- "id": "string",
- "type": "ContextSourceRegistration",
- "name": "string",
- "description": "string",
- "information": [
- {
- "entities": [
- {
- "id": "urn:datahub:OffStreetParking:yatap_01",
- "type": "kr.citydatahub.OffStreetParking:1.0"
}
], - "properties": [
- [
- "address",
- "streedAddress"
]
], - "relationships": [
- [
- "inAccident"
]
]
}
], - "observationInterval": {
- "start": "2020-11-17T20:48:09,290+09:00"
}, - "managementInterval": { },
- "location": {
- "type": "GeoProperty",
- "value": {
- "type": "MultiPolygon",
- "coordinates": [
- [
- 127.11132,
- 37.393653
]
]
}
}, - "observationSpace": { },
- "operationSpace": { },
- "expires": "string",
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
provides the ability to manage context source registration subscription
id | string |
type required | string |
name | string |
description | string |
Array of objects | |
watchedAttributes | Array of strings |
timeInterval | integer |
q | string |
geoQ | string |
csf | string |
isActive | boolean |
required | object |
expires | string |
throttling | integer |
temporalQ | string |
status | string |
{- "id": "urn:ngsi-ld:CsourceRegistrationSubscription:myCsourceRegistrationSubscription",
- "type": "Subscription",
- "name": "string",
- "description": "string",
- "entities": [
- {
- "id": "urn:datahub:OffStreetParking:yatap_01",
- "type": "kr.citydatahub.OffStreetParking:1.0"
}
], - "watchedAttributes": [
- [
- "address"
]
], - "timeInterval": 0,
- "q": "string",
- "geoQ": "near;maxDistance==2000",
- "csf": "string",
- "isActive": true,
- "notification": {
- "attributes": [
- [
- "speed"
]
], - "format": "normalized",
}, - "expires": "2021-11-15T20:10:00,000+09:00",
- "throttling": 0,
- "temporalQ": "string",
- "status": "string"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
subscriptionId required | string Example: urn:ngsi-ld:CsourceRegistrationSubscription:myCsourceRegistrationSubscription |
id | string |
type required | string |
name | string |
description | string |
Array of objects | |
watchedAttributes | Array of strings |
timeInterval | integer |
q | string |
geoQ | string |
csf | string |
isActive | boolean |
required | object |
expires | string |
throttling | integer |
temporalQ | string |
status | string |
{- "id": "urn:ngsi-ld:CsourceRegistrationSubscription:myCsourceRegistrationSubscription",
- "type": "Subscription",
- "name": "string",
- "description": "string",
- "entities": [
- {
- "id": "urn:datahub:OffStreetParking:yatap_01",
- "type": "kr.citydatahub.OffStreetParking:1.0"
}
], - "watchedAttributes": [
- [
- "address"
]
], - "timeInterval": 0,
- "q": "string",
- "geoQ": "near;maxDistance==2000",
- "csf": "string",
- "isActive": true,
- "notification": {
- "attributes": [
- [
- "speed"
]
], - "format": "normalized",
}, - "expires": "2021-11-15T20:10:00,000+09:00",
- "throttling": 0,
- "temporalQ": "string",
- "status": "string"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Get Entities. When the request is successfully delivered to the server, the corresponding entities are returned.
id | string List of entity ids to be retrieved |
type | string Example: type=OffStreetParking List of entity types to be retrieved |
idPattern | string Regular expression that shall be matched by entity ids |
attrs | string List of Attributes (Properties or Relationships) to be retrieved |
q | string Example: q=paymentAccepted.relationTest=="aaa";locationTag=="commercial" Query |
csf | string Context Source filter |
geometry | string Geometry |
georel | string Geo relationship |
coordinates | string Coordinates serialized |
geoproperty | string The name of the Property that contains the geospatial data that will be used to resolve the geoquery. |
geometryProperty | string Coordinates serialized |
lang | string Coordinates serialized |
scopeQ | string Coordinates serialized |
null
entityId required | string Example: urn:datahub:OffStreetParking:yatap_01 Entity ID |
attrs | string List of Attributes to be retrieved. If not specified, all Attributes related to the entity shall be retrieved |
geometryProperty | string |
lang | string |
null
Entity Fragment containing a complete representation of the Attributes to be updated.
entityId required | string Entity ID |
required | object |
{- "attributeName": "name"
}
null
Entity Fragment containing the elements of the attribute to be updated.
entityId required | string Entity ID |
attrId required | string Attributes ID |
required | object |
{- "attributeName": "name"
}
null
type required | string |
object | |
watchedAttributes | Array of strings Items Value: "attributeName" |
q | string |
object | |
isActive | boolean |
object | |
expires | string |
{- "type": "Subscription",
- "entities": {
- "type": "OffStreetParking"
}, - "watchedAttributes": [
- "attributeName"
], - "q": "speed>50",
- "geoQ": {
- "georel": "near;maxDistance==2000",
- "geometry": "Point",
- "coordinates": [
- "Latitude"
]
}, - "isActive": false,
- "notification": {
- "attributes": [
- "attributeName"
], - "format": "normalized",
}, - "expires": "2020-11-15T20:10:00,000+09:00"
}
null
Entity Fragment containing the elements of the attribute to be updated.
subscriptionId required | string Subscription ID |
type required | string |
object | |
watchedAttributes | Array of strings Items Value: "attributeName" |
q | string |
object | |
isActive | boolean |
object | |
expires | string |
{- "type": "Subscription",
- "entities": {
- "type": "OffStreetParking"
}, - "watchedAttributes": [
- "attributeName"
], - "q": "speed>50",
- "geoQ": {
- "georel": "near;maxDistance==2000",
- "geometry": "Point",
- "coordinates": [
- "Latitude"
]
}, - "isActive": false,
- "notification": {
- "attributes": [
- "attributeName"
], - "format": "normalized",
}, - "expires": "2020-11-15T20:10:00,000+09:00"
}
null
id | string List of entity ids to be retrieved |
type | string Example: type=OffStreetParking List of entity types to be retrieved |
idPattern | string Regular expression that shall be matched by entity ids |
attrs | string List of Attributes (Properties or Relationships) to be retrieved |
q | string Example: q=paymentAccepted.relationTest=="aaa";locationTag=="commercial" Query |
csf | string Context Source filter |
georel | string Geo relationship |
geometry | string Geometry |
coordinates | string Coordinates serialized |
geoproperty | string The name of the Property that contains the geospatial data that will be used to resolve the geoquery. |
timeproperty | string The name of the Property that contains the temporal data that will be used to resolve the temporal query. |
timerel | string Allowed values: "before", "after", "between" |
time | string It shall be a DateTime |
endTime | string It shall be a DateTime. Cardinality shall be 1 if timerel is equal to "between" |
lastN | string Only the last n instances, per Attribute, per Entity (under the specified time interval) shall be retrieved |
null
Create multi tenants rule
id | string |
userId required | string |
clientId required | string |
resourceId required | string |
resourceType required | string |
condition required | string |
createDatetime | string |
creatorId | string |
modifyDatename | string |
modifierId | string |
{- "id": "string",
- "userId": "string",
- "clientId": "string",
- "resourceId": "string",
- "resourceType": "string",
- "condition": "string",
- "createDatetime": "string",
- "creatorId": "string",
- "modifyDatename": "string",
- "modifierId": "string"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
Update multi tenants rule
id required | string |
id | string |
userId required | string |
clientId required | string |
resourceId required | string |
resourceType required | string |
condition required | string |
createDatetime | string |
creatorId | string |
modifyDatename | string |
modifierId | string |
{- "id": "string",
- "userId": "string",
- "clientId": "string",
- "resourceId": "string",
- "resourceType": "string",
- "condition": "string",
- "createDatetime": "string",
- "creatorId": "string",
- "modifyDatename": "string",
- "modifierId": "string"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
cSourceRegistrationNotificationURI required | string Example: endpoint when subsciption is entered |
attributes | Array of strings |
format | string |
endpoint | object |
status | string |
{- "attributes": [
- "Entity Attribute Names"
], - "format": "Entity representation",
- "endpoint": "Notification endpoint description",
- "status": "notification status"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
serviceExcutorURI required | string Example: serviceExecutorURI |
id required | string |
name required | string |
entityId required | string |
entityType | string |
required | Array of objects (serviceExcutorAttr) |
{- "id": "string",
- "name": "string",
- "entityId": "string",
- "entityType": "string",
- "attribs": [
- {
- "attribname": "string",
- "value": { }
}
]
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
id | string |
type required | string |
name | string |
description | string |
information required | object |
{- "id": "string",
- "type": "ServiceRegistration",
- "name": "string",
- "description": "string",
- "information": { }
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
id required | string Example: urn:ngsi-ld:serviceRegistration:csr800949 |
id | string |
type required | string |
name | string |
description | string |
information required | object |
{- "id": "string",
- "type": "ServiceRegistration",
- "name": "string",
- "description": "string",
- "information": { }
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}
id | string |
serviceRegistrationId required | string |
type required | string |
executions required | object |
{- "id": "string",
- "serviceRegistrationId": "string",
- "type": "ServiceRegistration",
- "executions": { }
}
{- "title": "BadRequestData",
- "detail": "not a valid JSON document"
}