mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
Update README.md
This commit is contained in:
committed by
Muneeb Ali
parent
9d013ae109
commit
b09a88ad08
@@ -51,7 +51,7 @@ API usage:
|
||||
|
||||
### Generate Developer key:
|
||||
|
||||
Note: This is method is temporary, and will be replaced by proper auth. mechanism.
|
||||
Note: This method is temporary, and will be replaced by proper auth. mechanism.
|
||||
|
||||
Request parameters:
|
||||
|
||||
@@ -71,6 +71,10 @@ Sample Response:
|
||||
|
||||
### Search API (powered by elastic search)
|
||||
|
||||
Request parameters:
|
||||
|
||||
> access_token and keywords (currently accepts username, twitter handle and btc_address)
|
||||
|
||||
syntax:
|
||||
|
||||
> {machineip}/v1/people-search/?access_token={access_token}&keywords={keywords}
|
||||
@@ -89,7 +93,7 @@ using twitter handle:
|
||||
|
||||
> curl -G http://localhost:5003/v1/people-search -d "access_token=a0fe2f40415f7451c4ba2eae7da963d5&keywords=ryaneshea"
|
||||
|
||||
### keywords can accept username, twitter handle and btc
|
||||
|
||||
|
||||
Sample Response:
|
||||
|
||||
@@ -143,6 +147,11 @@ Sample Response:
|
||||
|
||||
### 3) Profile API (powered by mongodb)
|
||||
|
||||
|
||||
Request parameters:
|
||||
|
||||
> access_token and onenameID
|
||||
|
||||
Syntax:
|
||||
|
||||
> {machine_ip}/v1/people/?id={onename_id}&access_token={access_token}
|
||||
|
||||
Reference in New Issue
Block a user