Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » RESTAPI to access the OneM2M resources
RESTAPI to access the OneM2M resources [message #1760360] Wed, 26 April 2017 10:43 Go to next message
Ramakrishnan Bala is currently offline Ramakrishnan BalaFriend
Messages: 12
Registered: December 2016
Junior Member
Can you please provide some examples on the RESTAPI's to access the oneM2M resources? Like read of ACP, discovery of all resources under CSE?

To read Base CSE why is a special character included in the URI?
http://10.37.XX.24:8080/~/in-cse

To read the ACP, I used the below command which uses the ACP ID.
http://10.37.XX.24:8080/~/in-cse/acp-288780068

How can I get the ACP details with resource name(acp_admin)? I tried below query but it is giving a error "malformed URI"

http://10.37.XX.24:8080/~/in-cse/?rn=acp_admin
Re: RESTAPI to access the OneM2M resources [message #1764257 is a reply to message #1760360] Sat, 27 May 2017 16:35 Go to previous message
Fariz Alemuda is currently offline Fariz AlemudaFriend
Messages: 9
Registered: July 2016
Junior Member
maybe you can try this query

http://10.37.XX.24:8080/~/in-cse?fu=1&ty=1

fu for filterUsage while the ty belongs to resourceType of Access Control Policy
Previous Topic:Eclipse OM2M roadmap for next releases
Next Topic:Query in OM2M
Goto Forum:
  


Current Time: Thu Oct 10 01:48:40 GMT 2024

Powered by FUDForum. Page generated in 0.04531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top