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

Add missing API key retrieval examples #111

Merged
merged 10 commits into from
Oct 11, 2023

Conversation

dcaballeroc
Copy link
Contributor

Now that the functions are available for a next release on C# and Node libraries, add examples to get API Keys for child users for these. It also add missing example for Java library, which already has that functionality.

@dcaballeroc dcaballeroc requested a review from a team September 28, 2023 18:25
Copy link
Member

@Justintime50 Justintime50 left a comment

Choose a reason for hiding this comment

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

There are two inconsistencies I'd like fixed here please:

  1. In some examples we retrieve the user then pass in the ID. Let's either forgo that on all examples and just pass in a fake string ID or let's retrieve the user on all the examples across languages
  2. Some of the examples have comments on both retrieving all and retrieving child API keys, let's please ensure all examples have the comment on both to help distinguish each section of the example and that the wording is uniform across them all

@dcaballeroc
Copy link
Contributor Author

There are two inconsistencies I'd like fixed here please:

1. In some examples we retrieve the user then pass in the ID. Let's either forgo that on all examples and just pass in a fake string ID or let's retrieve the user on all the examples across languages

2. Some of the examples have comments on both retrieving all and retrieving child API keys, let's please ensure all examples have the comment on both to help distinguish each section of the example and that the wording is uniform across them all

You're right. This is a WIP, still waiting for the method to get implemented in the Go library and for the methods to be moved to the right service on each library to continue.

@Justintime50 Justintime50 marked this pull request as draft September 29, 2023 17:32
@Justintime50
Copy link
Member

Fair enough! I'll mark this as a draft until it's ready. Feel free to publish at that time.

@dcaballeroc dcaballeroc marked this pull request as ready for review October 4, 2023 17:12
@dcaballeroc dcaballeroc force-pushed the update-api-key-retrieval-examples branch from 9623350 to b3b029f Compare October 11, 2023 17:45
go.sum Outdated Show resolved Hide resolved
official/docs/php/current/api-keys/retrieve.php Outdated Show resolved Hide resolved
official/docs/python/current/api-keys/retrieve.py Outdated Show resolved Hide resolved
official/docs/ruby/current/api-keys/retrieve.rb Outdated Show resolved Hide resolved
Copy link
Member

@Justintime50 Justintime50 left a comment

Choose a reason for hiding this comment

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

Nice work!

@dcaballeroc dcaballeroc merged commit f234e53 into master Oct 11, 2023
9 checks passed
@Justintime50 Justintime50 deleted the update-api-key-retrieval-examples branch December 11, 2023 22:15
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.

4 participants