cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Base API (Swagger) URL of Core device

Base API (Swagger) URL of Core device

Hi,

The device have the inbuild API description (based on Swagger architecture)

https://localhost/device-dashboard/api-reference

 

--> Here my question : where is the description file of the Swagger API, usuallly it's a swagger.json ?

Thanks a lot.

 

PS : here an example, you have the base URL on the top/left : https://petstore.swagger.io/

I look for this base url with the description file....https://petstore.swagger.io/v2/swagger.json

 

 

 

2 REPLIES 2

jochen-scheib
Established Member

Hi bigman-node-red,

you could find the api description files on github, see https://boschrexroth.github.io/rest-api-description/ctrlx-automation/ctrlx-core/index.html (https://github.com/boschrexroth/rest-api-description). There you will also find the corresponding json files. eg. https://boschrexroth.github.io/rest-api-description/ctrlx-automation/ctrlx-core/rexroth-deviceadmin/...

The json files on the device are in the path of the swagger ui and are named openapi.json.

But this path to the json files and api documents are not considered as stable and will change in the future. So it makes more sense to reference the apis from github.

Best regards

Jochen

Thanks for your reply.

It's perfect to have inbuild in the device the description of the API.

Thanks for the advice for the futur evolution of the API.

Regards

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist