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

graphfixes #209

Merged
merged 3 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ where the ninjs objects are stored.
{
ninjs {
uri
pubstatus
pubStatus
language
headlines {
value
Expand All @@ -55,9 +55,9 @@ where the ninjs objects are stored.

```
{
ninjs (pubstatus: "usable", language: "sv") {
ninjs (pubStatus: "usable", language: "sv") {
uri
pubstatus
pubStatus
language
headlines {
value
Expand All @@ -67,7 +67,9 @@ where the ninjs objects are stored.
```

will only show the usable items in Swedish.

If you want certain types of items you can filter on type like type: "text"

The samples in the data.json come from TT, NTB, DPA and AP. They have been adapted to fit the ninjs 2.0 schema.
The samples in the data.json come from TT, NTB, DPA and AP. They have been adapted to fit the ninjs 3.0 schema.

_Johan Lindgren, IPTC News in JSON Working Group lead, September 2021_
_Johan Lindgren, October 2024_
Loading