Skip to content

NamelessRom/website_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nameless Website

This repository contains the source code for Nameless Rom

The server itself is based on io.js and Express

Website

The website makes use of

The code for the website is placed in public

API

To use the API you need to install

To use the script to run the server in background, you also need to install

After you have installed all requirements, you need to set the following environmental variables, or pass it to the api-init script

  • API_USERNAME - The username which is used to create new update entries
  • API_PASSWORD - The password which is used to create new update entries

To test if the API is working properly, you can use tools/create_update_entry.sh. If you forgot to pass an argument, it will tell you :)

Example usage

tools/create_update_entry.sh TESTCHANNEL test_file_name.zip md5sum 20150427 testdevice

If successful, check your server if the entry got created. You can find more information about that below.

API Routes

Below are some of the API Routes with examples. Every route points to our (API in action)[https://nameless-rom.org]. In case you try it and it is offline, i am really sorry.

Contribution

Contributions are really welcome, they are handled at our Gerrit Code Review.

License

You can find the license here

Releases

No releases published

Packages

No packages published

Languages