Skip to content

Commit

Permalink
Merge pull request #209 from iptc/graph3
Browse files Browse the repository at this point in the history
graphfixes
  • Loading branch information
iyoung authored Nov 6, 2024
2 parents ad96728 + 7fbd551 commit e480a97
Show file tree
Hide file tree
Showing 3 changed files with 1,934 additions and 1,149 deletions.
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

0 comments on commit e480a97

Please sign in to comment.