Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Are API specs saved or backed up ?

Not applicable

Sometimes an API spec gets accidentally deleted, which happened to me once. I couldn't find anywhere on Edge Pro where the specs are backed up. And the Edge Audit logs also didn't show anything (to find out when and who was modifying the specs).

So ... are these specs saved anywhere? or do I have to copy/paste them locally and then commit them into my own git repo?

P.S. I'm waiting for management APIs for specs to be released so I can automate pulling them out of apigee and saving them in git via a jenkins job.

Solved Solved
1 3 255
1 ACCEPTED SOLUTION

Marsh
Former Googler

Today deletion is permanent, which is why a confirmation dialog presents its dire warning.

We have explored designs for a trash that would soft-delete and allow recovering a file within 30 days before being permanently deleted. Rather than implement the complicated case, we opted for the simpler case with the assumption that we would prioritize the latter based somewhat on customer demand. I believe yours is the first request!

So for now, the only mechanism is copy/paste and double check before you delete anything.

View solution in original post

3 REPLIES 3