akatanov-albums
5 years agoNew Contributor
Default version
Hi,
Is there some possibility to mark particular version of my API as a default one through registry-api or another API?
Hi,
Curently you can not do this with the RegistryAPI, however, we have an existing enhancement request to implement this feature.
Regards,
Marcus James
SmartBear Support
This is now possible - you can set the default version by using "PUT /apis/{owner}/{api}/settings/default":
curl -X PUT "https://api.swaggerhub.com/apis/OWNER/API_NAME/settings/default" -H "Authorization: SWAGGERHUB_API_KEY" -H "Content-Type: application/json" -d "{\"version\": \"1.0.0\"}"