How to export specs from Develop/Specs page for Apigee Edge for Public Cloud

Is there any documented/undocumented Management API to export spec from Develop/Specs Edge UI page?

Something like GET /organizations/{org_name}/specs

to get list of specs and later to get specific spec something like 

GET /organizations/{org_name}/specs/doc/1234567/content

Solved Solved
0 1 95
1 ACCEPTED SOLUTION

I have found workaround for now. You can get requests used by Edge UI specs pages. 

For example to get all specs in JSON use https://{yourapigeehostname}/dapi/api/organizations/{org}/specs/folder/home  and to get specific specification in JSON use https://{yourapigeehostname}/dapi/api/organizations/{org}/specs/doc/{doc_id}/content

It would be nice if there is some documented API to be used instead.

View solution in original post

1 REPLY 1

I have found workaround for now. You can get requests used by Edge UI specs pages. 

For example to get all specs in JSON use https://{yourapigeehostname}/dapi/api/organizations/{org}/specs/folder/home  and to get specific specification in JSON use https://{yourapigeehostname}/dapi/api/organizations/{org}/specs/doc/{doc_id}/content

It would be nice if there is some documented API to be used instead.