Management API : add a status section in device registration data
See original GitHub issueProposal : add a status section in the device payload returned by the device registry. This section is optional and written only by the device registry implementation. It can not be updated by the user. Any data inserted in the status section by the user in a PUT request will be ignored.
This section would be a json object at the root level off the device registration data :
{
"enabled": true,
"defaults": { … },
"via": [ … ],
"viaGroups": [ … ],
"memberOf": [ … ],
"ext": { … },
"status" : {
created: $date-time
last-update: $date-time
last-user: $username
}
}
It allows to have a overview of recent management activity for the devices. Screenshot : https://marvelapp.com/5gbji22/screen/68233009
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
User Device Management API - TechDocs - Broadcom Inc.
A user can register a device for his authentication purpose. This REST API is consumed by the client application for registering an device...
Read more >Enroll and provision a device | Android Management API
Note: If you're provisioning a device from a sign-in URL, you need to create an enrollment token differently. See Sign-in URL for details....
Read more >SAM.gov Opportunity Management API | GSA Open Technology
The Opportunity Management API will allow authorized users to submit and request Opportunities data. Note: The specifications on this page are for a...
Read more >Quickstart: Configure a client application to access a web API
Select API permissions > Add a permission > My APIs. Select the web API you registered as part of the prerequisites. Delegated permissions...
Read more >REST API reference - ServiceNow Docs
The CdmSnapshotApi provides endpoints that enable you to publish, unpublish, and re-validate snapshots in Configuration Data Management (CDM).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are offering separate rest methods for the credentials. FMPOV we are already treating them as different resource. Also credentials can be updated irrespective of the devices. Hence I think its also good to have a status section for the credentials.
Hi @ctron & @jbtrystram !
I am a bit confused about this issue: the model classes in Hono, i.e. the model for a device (https://github.com/eclipse/hono/blob/master/services/device-registry-base/src/main/java/org/eclipse/hono/service/management/device/Device.java) already contain that status property. This is not yet implemented as far as I can see which is why I took a look at it, since it would be the right place for two system-internal flags required for #2053 which must not be editable by a user.
So it seems like this issue has been implemented to some extent. What was the reason to introduce that status property without a complete implementation?
Does it makes sense to complete the implementation based on what is currently on master FYPOV?