MetaData

command module
v0.0.0-dev2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 29 Imported by: 0

README

MetaData Service

Meta Data service

APIs
public APIs
  • /meta get all meta data records
  • /meta/:site get meta data record for a given site
Example
# get all sites records
curl http://localhost:8300/meta
protected APIs
  • /meta post new meta data record
  • /meta/:mid delete meta data record for a given meta-data ID
Example
# record.json
{
    "site":"Cornell", 
    "description": "waste minerals", 
    "tags": ["waste", "minerals"],
    "bucket": "waste"
}

# inject new record
curl -v -X POST -H "Content-type: application/json" \
    -H "Authorization: Bearer $token" \
    -d@./record.json \
    http://localhost:8300/meta

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL