West-Life Virtual Research Environment Docs
  • Introduction
  • Data Management
  • Virtual Folder
    • User's guide
      • Settings
        • Import settings from another Virtual Folder
      • File Manager
      • File Picker
      • Related applications
        • Jupyter notebook
      • Metadata
    • Installation guide
      • Cloud installation
      • Local installation
      • Integration with SSO
    • Integration guide
      • Select File or Dir from Virtual Folder
      • Working with WEBDAV
      • Embedding Virtual Folder Component
      • Adding component into Virtual Folder
    • Developer's guide
      • Backend
      • Frontend - Web Application
      • Metadata and API
        • Dataset metadata and API
        • File metadata and API
      • Import Export Settings API
      • Related application and services
      • Untitled
  • Virtual Machines and Containers
    • Preparing vagrant VM template
    • Preparing docker container
  • Repository
    • Installation guide
      • Prerequisites
      • Automatic installation
      • Manual installation from source codes
    • User's guide
      • Scientist imports project proposal
      • Staff uploads data
      • Scientist works with dataset
      • Metadata
    • Developer's guide
      • Metadata generation
      • ARIA integration
Powered by GitBook
On this page
  • Get Providers
  • Get Files from provider
  • Get dataset
  1. Virtual Folder
  2. Developer's guide
  3. Metadata and API

File metadata and API

Get Providers

GET https://[virtual folder server]/metadataservice/files

This endpoint allows you to get root directory structure consiting of registered storage providers.

[{
    "Id": "2",
    "alias": "b2drop",
    "type": "B2Drop",
    "username": "myusername",
    "output": "debugging output in case of error"
}]

Get Files from provider

GET https://[virtual folder server]/metadataservice/files/[provider]

Get files from selected provider

Path Parameters

Name
Type
Description

provider

string

provider name

[{"name":"directory1",
  "attributes":16,
  "size":0,
  "date":"/Date(1488898207000+0000)/",
  "path":"",
  "filetype":15,
  "webdavuri":"/webdav/tomas.kulhanek@stfc.ac.uk/b2drop/Physiolibrary.models",
  "publicwebdavuri":""}
]

Get dataset

GET https://[virtual folder server]/metadataservice/dataset/{id}

Get datasets registered within user account

Path Parameters

Name
Type
Description

id

number

id of existing dataset

{"Id"": 1,"Name":"dataset 1","Entries":[{"Id":1,"Type":"pdb_id","Name":"2hhd"}]}
PreviousDataset metadata and APINextImport Export Settings API

Last updated 7 years ago