Skip to content

Added missing Apps endpoints - #814

Merged
acrobat merged 8 commits into
KnpLabs:masterfrom
jamiehuson:apps/updated-endpoints
Nov 14, 2019
Merged

acrobat merged 8 commits into
KnpLabs:masterfrom
jamiehuson:apps/updated-endpoints

Conversation

@jamiehuson

Copy link
Copy Markdown
Contributor

Why make this change?
Some endpoints available on https://developer.github.com/v3/apps/ are not available through this package. I also added the Accept header back for the preview Apps apis, which addresses this issue: #800

Considerations
I did not include Create Github App from App-Manifest because that flow required additional scoping to fully understand the flow, which was beyond the scope of my needs at this time.

Testing
I have included tests for all added endpoints.

Comment thread lib/Github/Api/Apps.php Resolved
@acrobat

acrobat commented Nov 1, 2019

Copy link
Copy Markdown
Collaborator

Small change on the configure method requested, the rest of the PR looks good!

@acrobat

acrobat commented Nov 1, 2019

Copy link
Copy Markdown
Collaborator

@jamiehuson can you rebase you PR against the current master? And use the configurePreviewHeader method where we need the set a custom accept header? It was added in #823

@jamiehuson
jamiehuson force-pushed the apps/updated-endpoints branch from 5f43ffd to 73c2cbf Compare November 13, 2019 16:24
@jamiehuson
jamiehuson requested a review from acrobat November 13, 2019 16:27

@acrobat acrobat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

2 small remarks, the rest of the PR looks good! 👍

Comment thread lib/Github/Api/Apps.php Resolved
Comment thread lib/Github/Api/Apps.php Resolved
@jamiehuson
jamiehuson requested a review from acrobat November 13, 2019 22:30
@acrobat

acrobat commented Nov 14, 2019

Copy link
Copy Markdown
Collaborator

Thanks @jamiehuson! And congrats on your first contribution! 🎉

@acrobat
acrobat merged commit 4018a93 into KnpLabs:master Nov 14, 2019
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