Git Product home page Git Product logo

website-docupony's Introduction

dev.ost.com

This is the common documentation repository for OST Platform and KYC.

Requirements

Installing gulp-cli (Needed to execute build tasks)

npm install -g gulp-cli

Installing bundler (Needed for slate)

gem install bundler

Setup

  1. Clone this repositiory

Run following commands inside root folder of this repositiory

  1. Install npm dependencies

npm install

  1. Install slate and docusaurus dependencies. It also builds docs as a last step.

gulp generate-all-docs

  1. Start the server. It has live reload.

gulp server-dev

  1. For development purpose use this command on local machine

gulp generate-all-docs-local-server

For more gulp tasks read the gulpfile.js in root folder.

website-docupony's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

website-docupony's Issues

API .json: restructure and update

  • Update structure with Ben's notes.
  • Update all 10 APIs with consistent parameters.
  • Add the success and failed responses to the 10 APIs.
  • Press out unclear language in the explanations.

dev.ost.com Fixes | Feedback

Quick feedback for fixes on dev.stagingost.com

ostKIT alpha API v1 review

Hi, Please create a branch - off master, following the convention
name/gh#/title and push the updated collection ostKIT Api collections here.

dev.ost.com Fixes | Sample Code Curls

  1. Fix the call format for sample code curls for
  • users/create
  • users/edit
  • users/list
  • users/airdrop/drop
  • users/airdrop/status
  • transaction-types/edit
  • transaction-types/list
  • transaction-types/status
  1. Explicitly state the flags for sample code curls
  • users/create
  • users/edit
  • users/list
  • airdrop/drop
  • transaction-types/edit
  • transaction-types/list
  • transaction-types/status

OST KIT alpha: Transaction Kind APIs

OST KIT alpha: Transaction APIs

needs correction? /kind -> /type
needs alignment? /users -> /user or /transaction -> /transactions

  • /transaction/kind/create
  • /transaction/kind/get-all
  • /transaction/kind/edit (align with users/update)
  • /transaction/execute
  • /transaction/list -> pagination over block number; filtered per token?
  • /transaction/status -> either ?transaction_uuid or ?transaction_hash; drop transaction_

unimplemented

  • /transaction/type/remove
  • /transaction/type/get

dev.ost.com v1.0.0 Fixes | corrections from help.ost.com ticket #4200

https://ost.freshdesk.com/a/tickets/4200

  • Plural is missing in this sentence (compared to sample response):
    "On calling /actions the data.result_type is the string "action" and the key data.action
    is an array containing the requested action objects."
    ie. data.actions is the array not data.action

  • /transaction/list Typo. There is a double // in the GET pink request example:
    GET - "https://sandboxapi.ost.com/v1//transactions/?..."

  • There is no explicit mention anywhere in the API docs that the timestamp value is in milliseconds (trailing 000s) which was a cause for initial confusion as to why timestamp values where not saving/converting properly.

  • Across the list API docs make it clear that "optional_filters" is not a parameter as this is misleading

OST KIT alpha: User APIs

OST KIT alpha: User APIs

  • /users/create
  • /users/update
  • /users/list
  • /users/airdrop/initiate
  • /users/airdrop/get-status

unimplemented

  • /users/remove ?
  • /users/get ?

splitting the documents for docupony

Let's start from the APIs; link pr per page here

Getting Started

Welcome

Tokenize Your Application

Alpha roadmap

OST KIT alpha

Propose Branded Token

Stake and Mint

Quick Start guide

Tutorials

Create users and upvote

Jump start economy with Airdrop

OST API

Users - create

Users - edit

Users - list

Airdrop

Airdrop - status

Transaction-types - create

Transaction-types - edit

Transaction-types - ...

OST SDK

Users - create

Users - edit

Users - list

Airdrop

Airdrop - status

...

OpenST Platform NPM

Stake and mint

Token Transfers

OST on Utility chain

web3 wrapping

Pessimistic caching

(Notifications / caching)

OpenST Protocol ABI

dev.ost.com v1.0.0 Fixes | Gitter Feedback Fixes (23-05-2018)

  • Include Omit commission % parameter while making any action other than user_to_user action in the documentation as it is being missed by developers and is not obvious with the information already provided. Exclude this param altogether for calls to _user_to_company_ or _company_to_user_ action types
  • In the API doc I see this: order_by string (optional) order the list by 'creation_time' or 'name' (default) by order_by=created works
  • Change "Accept:" to "Content-Type:" in API documentation (fixed by Banks)
  • The company_uuid returned from the /token endpoint being a 4 digit internal reference rather than the company_uuid available via the KIT backend
  • User - filter on name is not available in this version as per requirements (from Sunil)
  • Action - no filter on arbitrary_commission as per requirement (from Sunil)
  • The token API is giving a 4 digit number for company_uuid in the APIs this should be changed to reflect the actual 'uuid'
  • Added Including _arbitrary_commission_ or _commission_percent_ for either _user_to_company_ or _company_to_user_ action types will result in an error. for actions -> create, edit, update, execute.

dev.ost.com v1.0.0 Fixes | Add document for uc contract deployment instructions

  • stepwise document describing details ofUC contract deployment
  • follow the format provided below with necessary edits for versioning

id: utility_chains
title: Utility Chains
sidebar_label: Utility Chains

P1: OpenST Protocol and Utility Chains (borrow language from other places in the docs, on the website, and blogs)
P2: OSTa / Ropsten and 1409 (borrow language from other places in the docs, on the website, and blogs)
P3: How to interact (use Ben's Gist)

  • read
  • deploy (reference new /transfers API)

dev.ost.com Fixes | update the change log

It should add two dates covering (a) the authentication changes and (b) v1 of the API.

For (b), I the following format is recommended :

  • A brief overview description of changes (pull language from blog post about the API)
  • Bullet points that say either "API x was changed to API y" or "API y was added"
  • Bullet points should be in the order of the APIs as listed for v0 in the sidebar and then the additional APIs slotted in or added to the bottom of the list as seems sensible (e.g., GET /users/{id} should probably not be at the bottom of the list, but GET /token probably should be)
  • For the new APIs, very brief description of what this does (e.g., GET /users/{id} enables retrieving data for a single user; GET /token returns data about your token economy)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.