Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endpoint prefix changed from 'rest' to 'api' #57

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

pacant
Copy link
Contributor

@pacant pacant commented Sep 23, 2022

According to the YouTrack documentation:

"On February 17, 2021, we announced discontinuing the legacy REST API If your application uses legacy endpoints that start with the /rest prefix, review and adjust your code to use the new REST API that uses /api prefix and is described in this reference."

@antonkomarev
Copy link
Member

antonkomarev commented Sep 23, 2022

Thank you for the contribution @pacant!
Have you tested this change? Everything else is working as expected?

@pacant
Copy link
Contributor Author

pacant commented Sep 23, 2022

Yes everything okay

@antonkomarev antonkomarev merged commit 5196e4d into cybercog:master Sep 23, 2022
@antonkomarev
Copy link
Member

Merged, will try to make release ASAP

@antonkomarev
Copy link
Member

@pacant PHP YouTrack REST v7.0.0 has been released!

@antonkomarev
Copy link
Member

v7.0 still works with old prefix if there is a need:

$client = new Rest\Client\YouTrackClient($httpClient, $authorizer, 'rest');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants