Retrieve Ignored Registration Entries
/iot/api/v2/registrations/{registration-id}/ignoredEntries
Request
-
registration-id: string
Registration id
Response
- application/json
- application/vnd.oracle.resource+json;type=collection
Examples
The following example shows how to get a list of entries that were ignored during a specific batch registration by submitting a GET request on the REST resource using cURL. Note that in both the request and response, iotserver
will be replaced by the name and port of your assigned IoT Cloud Service instance. The format of the Cloud Service instance is, myinstance-myidentitydomain.iot.us.oraclecloud.com
and the default port is 443. For more information about cURL, see Use cURL.
curl -k -X GET -u username@example.com:welcome1 https://iotserver/iot/api/v2/registrations/0-AI/ignoredEntries
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Content-Type: application/json
Example of Response Body
The following example shows the contents of the response body in JSON format.
{ "items" : [ { "rowNo" : 3, "status" : "CONFLICT", "reason" : "the device with the same attributes is already registered" } ], "links" : [ { "href" : "http://iotserver/iot/api/v2/registrations/0-AI/ignoredEntries", "rel" : "self" }, { "href" : "http://iotserver/iot/api/v2/registrations/0-AI/ignoredEntries", "rel" : "canonical" } ] }
curl -X GET
-u <username>:<password>
-H 'Accept: application/json'
https://iotserver/iot/api/v2/registrations/{registration-id}/ignoredEntries
Complete cURL Example
The following example shows a complete cURL command that you can use to perform the described operation:
curl -X GET
-u <username>:<password>
-H 'Accept: application/json'
https://iotserver/iot/api/v2/registrations/22ae26f35978-6255/ignoredEntries
Note that in the request,
https://iotserver
will be replaced by the name and port of your assigned IoT Cloud Service instance. The format of the Cloud Service instance is
https://myinstance-myidentitydomain.iot.us.oraclecloud.com
and the default port is 443.