AtlassianPS / BitbucketPS

PowerShell module to interact with Atlassian Bitbucket
https://AtlassianPS.org/BitbucketPS
MIT License
33 stars 15 forks source link

Rest API version reference #4

Closed martin9700 closed 6 years ago

martin9700 commented 6 years ago

I noticed in some examples in the API documentation that instead of using:

/rest/api/1.0/

this was used instead:

/rest/api/latest/

Is there any reason the latter shouldn't be used? Realistically will the URL ever change from 1.0?

lipkau commented 6 years ago

Yes. latest is used for a reason:

The API might be change and will therefore get a new version. Confluence and Jira are on version 2.0.

latest is a symbolic link created by the server to the latest version.

martin9700 commented 6 years ago

That was my thought and that's what I went with in PR #5