Skip to content

Missing miscellaneous api endpoints #534

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

Merged
merged 1 commit into from
Mar 23, 2017

Conversation

acrobat
Copy link
Collaborator

@acrobat acrobat commented Mar 5, 2017

I'm checking the lib to see if we missed any api endpoints available. This PR fixes the missing miscellaneous api endpoints.

@Nyholm what do you think? Can we move the markdown, ratelimit, etc api classes to the miscellaneous subfolder/namespace to mimic the structure github has for these api's? See: https://developer.github.com/v3/misc/

It would not change how the user would use these api's as $client->api('ratelimit') and $client->ratelimit() would point to the correct class.

Copy link
Collaborator

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thank you.

No I do not think you can move existing classes. That would be a BC break, even though most people would never care..

If you want to you may deprecate the current classes and make then extend a new class in the correct namespace. But that is a separate PR.

@Nyholm Nyholm merged commit adf8914 into KnpLabs:master Mar 23, 2017
@Nyholm Nyholm added this to the Release 2.2 milestone Mar 24, 2017
@acrobat acrobat deleted the miscellaneous-api-endpoints branch March 25, 2017 20:25
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.

3 participants