Manifiesta Static JSON
File Manifest Server in Go, backed by static JSON files.
Adding your Manifest
To add a manifest, create a json file with the _manifest.json suffix in the application directory. Json must follow schema: https://github.com/Archnoc/manifiesta/blob/master/manifest_schema.json.
Environment Variables
Manifiesta will read the .env file in your application folder on startup and assign environment variables.
PORT
Port to listen on for http requests, begin with ":"
CERT_FILE
Path to Cert File, required for TLS
KEY_FILE
Path to Key File, required for TLS
Resource Paths
GET /manifest/{name}
Returns the entire manifest.
GET /manifests/metadata
Returns the metadata of all available manifests.
GET /manifest/{name}/metadata
Returns the metadata of the manifest.
GET /manifests/{name}/files
Returns all files associated with the manifest.
GET /manifests/{name}/files/{index}
Returns a detailed view of the file.