- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Custom Application Site from Web API
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Custom Application Site from Web API
Hi!
How can I get object Custom Application Site from Web API?
Method "show-application-site" return only standart Application Site.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Turns out it's a rights issue.
I tried to send a request from another profile and got an object.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is the correct API to use.
What version of management?
When you query a specific custom application, what is the precise call you make and what is the precise result you receive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Management Sever version R80.40
API version 1.6.
I am use method show-application-site.
In result I am receive "Requested object [TestApp] not found".
But the object is on Management Server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Appears to work for me.
I am using the Demo Mode server in R80.40 and using something like:
mgmt_cli -m x.y.z.w --session-id xxxx show application-site name "mycompany.com"
mycompany.com is a Custom Application/Site that exists in the Demo Mode server.
I get the expected result.
This suggests you are not calling the API correctly or there is an underlying bug that would be fixed by applying the most recent GA JHF.
In any case, more precise details about how you are calling the API are needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right, but that doesn't tell me exactly how you are calling the API.
What precise code are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am use Python library cpapi.
The request looks like this:
client.api_call("show-application-site",{"name" : "TestApp"})
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try mgmt_cli like I did above?
Also paging @chkp-royl @Omer_Kleinstern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I can.
mgmt_cli calling return the correct result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Turns out it's a rights issue.
I tried to send a request from another profile and got an object.
Thank you!
