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

Update getting_started code-samples #490

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

meili-bot
Copy link
Contributor

This PR is auto-generated.
Update the code-samples.meilisearch.yml according to the documentation issue.
The api_key field is missing in the instantiation of the client in the getting started samples.
Add aSampleMasterKey as the api_key.
cURL example:

    curl \
  -X POST 'http://localhost:7700/indexes/movies/documents?primaryKey=id' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer aSampleMasterKey' \
  --data-binary @movies.json

@meili-bot meili-bot added documentation Improvements or additions to documentation skip-changelog The PR will not appear in the release changelogs labels Jul 3, 2023
@bidoubiwa bidoubiwa force-pushed the meili-bot/getting-started-code-samples branch from 64433a3 to 95fcfd2 Compare July 4, 2023 10:09
Copy link
Contributor

@bidoubiwa bidoubiwa left a comment

Choose a reason for hiding this comment

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

bors merge

meili-bors bot added a commit that referenced this pull request Jul 4, 2023
490: Update getting_started code-samples r=bidoubiwa a=meili-bot

_This PR is auto-generated._
Update the code-samples.meilisearch.yml according to the [documentation issue](meilisearch/documentation#2499). 
The `api_key` field is missing in the instantiation of the client in the getting started samples.
Add `aSampleMasterKey` as the `api_key`.
cURL example:
```bash
    curl \
  -X POST 'http://localhost:7700/indexes/movies/documents?primaryKey=id' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer aSampleMasterKey' \
  --data-binary `@movies.json`
````


Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com>
@bidoubiwa bidoubiwa marked this pull request as ready for review July 4, 2023 10:12
@meili-bors
Copy link
Contributor

meili-bors bot commented Jul 4, 2023

Timed out.

@bidoubiwa
Copy link
Contributor

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented Jul 6, 2023

@meili-bot meili-bot merged commit 4aa3fc9 into main Jul 6, 2023
@meili-bot meili-bot deleted the meili-bot/getting-started-code-samples branch July 6, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation skip-changelog The PR will not appear in the release changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants