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

Example body JSON is incorrectly formatted #24

Open
justincastilla opened this issue Apr 22, 2021 · 1 comment
Open

Example body JSON is incorrectly formatted #24

justincastilla opened this issue Apr 22, 2021 · 1 comment

Comments

@justincastilla
Copy link

justincastilla commented Apr 22, 2021

The example JSON body content below is incorrect.

https://github.com/accredible/master-apiary/blob/9189de1c02f58c80643a4a54777c2f631d2a8562/apiary.apib#L333-L346

It should be in this format:

{
  "credentials": [
    {
      "recipient":
        {
          "name": "John Doe", "email": "student@example.com" 
        }, 
      "group": "ClassGroup" , 
      "group_id": 123456
    },
     {
      "recipient":
        {
          "name": "John Doe", "email": "student@example.com" 
        }, 
      "group": "ClassGroup" , 
      "group_id": 123456
    },
@bofussing-accredible
Copy link
Contributor

@justincastilla what is the purpose of the group string attribute?
Only the group_id is required, the Group object is created in a separate API call

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

No branches or pull requests

2 participants