Skip to content

uklibraries/metallium-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metallium-api

This is the (alpha) API for Metallium, a metadata repository for ExploreUK.

Copy .env.example to .env and set deploy directory. Ensure that local deploy account sets the following:

  • MTL_LOCAL_DIR
  • MTL_REMOTE_DIR
  • MTL_REMOTE_USER
  • MTL_REMOTE_HOST

Deploy with

exe/mtl-deploy.sh

Authentication

[This has not yet been written.]

Documents

GET /metallium/documents/:id

Retrieve the raw JSON for the document referenced by the ARK :id.

Vocabularies

GET /metallium/vocabularies/:id

Retrieve the raw JSON for the vocabulary referenced by the identifier :id. Currently, Metallium includes one static vocabulary, format, but it is anticipated that this vocabulary will be editable and other vocabularies may be added.

Licenses

Copyright (C) 2020 M Slone

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Web services for the Metallium metadata repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published