Skip to content

Commit

Permalink
fix test and update changelog about schema.org content type change #1…
Browse files Browse the repository at this point in the history
…0542

The test file is used in InfoIT#testGetExportFormats
  • Loading branch information
pdurbin committed Nov 25, 2024
1 parent ca93d60 commit a92366e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/release-notes/10542-signposting.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ The output of HEAD, GET, and the Signposting "linkset" API have all been updated

This provides a lightweight machine-readable way to first retrieve a list of links (via a HTTP HEAD request, for example) to each available metadata export format and then follow up with a request for the export format of interest.

In addition, the content type for the `schema.org` dataset metadata export format has been corrected. It was `application/json` and now it is `application/ld+json`.

See also [the docs](https://preview.guides.gdcc.io/en/develop/api/native-api.html#retrieve-signposting-information) and #10542.
4 changes: 4 additions & 0 deletions doc/sphinx-guides/source/api/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ This API changelog is experimental and we would love feedback on its usefulness.
:local:
:depth: 1

v6.5
----
- The content type for the ``schema.org`` dataset metadata export format has been corrected. It was ``application/json`` and now it is ``application/ld+json``. See also :ref:`export-dataset-metadata-api`.

v6.4
----

Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/json/export-formats.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"schema.org": {
"displayName": "Schema.org JSON-LD",
"mediaType": "application/json",
"mediaType": "application/ld+json",
"isHarvestable": false,
"isVisibleInUserInterface": true
},
Expand Down

0 comments on commit a92366e

Please sign in to comment.