Skip to content

Add an API endpoint for extended File Level metadata #4616

@raprasad

Description

@raprasad

5/4/2018 update

Add an API endpoint where File Level metadata can be retrieved using a File ID or File DOI:

  • API input: Datafile id or Datafile DOI, optional Dataverse token
  • output: Datafile metadata including:
    • Owning dataset DOI
    • File-specific information already included in the native API for datasets
    • JSON-LD Metadata for the file's dataset
    • Any other relevant info

Notes:

  1. My specific use case involves knowing the Datafile ID and wanting to retrieve the JSON-LD citation for that file's dataset. Currently this is done in 3 steps:
    1. Use the search API to retrieve the file's dataset citation
    2. Parse the text citation for the dataset DOI
    3. Call the existing JSON-LD endpoint using the dataset DOI from above
  2. community benefit: If I am understanding Dataverse External Tools correctly, this will help other developers who could use the Datafile ID/DOI to get more display information for users and/or access other existing APIs. * http://guides.dataverse.org/en/4.8.5/installation/external-tools.html
  3. google group: https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!topic/dataverse-community/u6VjVQ0h8RU

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions