-
Notifications
You must be signed in to change notification settings - Fork 66k
Open
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The "Example response" for the "List items for an organization owned project" API call indicates that the objects contained with the fields array have a type key (e.g. the response would contain something like "fields": [ { "type": "title", ... }, ... ]):
However, I've used this API and discovered that in practice the type key is called data_type (probably due to the fact that type is a reserved keyword in many programming languages):
The example should be updated to reflect the actual structure of the response object. This could be a problem with the other project items-related APIs as well, but I haven't checked.
Additional information
The "List project fields for organization" example is correct; it uses the data_type key name.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team