Skip to content

epocum/API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

Api beta v1.0

https://epocum.github.io/API/

Epocum's API v1.0 folder MAP and use's specification

Table of Contents

Introduction

The API

We wrote all in Javascript and NodeJs.

Folder map

This software suite is composed of the following components:

├── Epocum                <- Top-level
│   ├── API               <- API
│   ├── Dapp              <- Decentralized app
│   │   ├── assets        <- 
│   │   ├── css           <-
│   │   └── js        	  <-
│   │   └── plugins       <-
│   │   └── scss          <-
│   ├── node_modules      <- Node js dependencies folder
│   │   ├──.......
│   └── resource          <- External resource
    └── db                <- local mongodb blockchain

Documentation

Epocum's API service enable users with local node installed to get information reguarding decentralized links and smartsharing contract generated from the same platform.

API local endpoint

http://localhost:88

API with NO parameter

/get_proposals

/get_acceptances

/get_DelegatesConnectionsList

API with END parameter

/get_ListConnectionsFromAcceptance/:acceptance_hash /get_NumConnectionsFromAcceptance/:acceptance_hash /get_ProposalCurrentTarget/:proposal_hash

The response are in json standard mode.

Example:

http://localhost:88/get_acceptances

[{"_id":"xxxxxxxxxxxxxxx","ip":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","website":"https://www.somewebsite.com/","ipfs":"QmQxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","browser":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}]

License

The Epocum software suite is licensed under the terms of the Apache License 2.0.

About

Api Beta v1.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published