AtlasOfLivingAustralia / doi-service

ALA DOI minting service - integrates with ANDS to produce the DOI, provides a landing page, and stores the associated file
https://doi.ala.org.au/
0 stars 4 forks source link

Update api/doi endpoint documentation #51

Closed temi closed 9 months ago

temi commented 5 years ago

POSTING to api/doi endpoint threw an error even though the documentation was followed. Debugging indicated missing properties in providerMetadata field. It will be good if this is reflected in the API doc and also the example updated.

{
...
    "providerMetadata": {
        "resourceType": "Text",
        "publisher": "test",
        "identifier": "test",
        "publicationYear": 2019,
        "authors": ["testing"]
    },
...
}
adam-collins commented 12 months ago

Updated the openapi documentation for the POST request with details present in code comments and information from the mintDoi page.