Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###UFDM Referral Endpoint
- **POST** /signup/ufdm
- **Parameters**
- * harness_id = _string_
- * type = _organization_, _referral_
- * code = _string_
- **200 Response**
- ```javascript
- {
- "message": "successfully registered with {organization|referral} code"
- }
- ```
- **40X Response**
- ```javascript
- {
- "error": "incorrect/unrecognized {organization|referral} code"
- }
- ```
- ---
- ###Account Strength Endpoint
- **GET** /account/strength
- **Parameters**
- * harness_id = _string_
- **Response**
- ```javascript
- {
- "primary": [
- {
- "title": "Create account",
- "active": true,
- "percent": 25
- },
- {
- "title": "Connect roundup account",
- "active": true,
- "percent": 25
- },
- {
- "title": "Connect funding account",
- "active": false,
- "percent": 25
- },
- {
- "title": "Donate $10",
- "active": false,
- "percent": 25
- }
- ],
- "secondary": [
- {
- "title": "Refer a friend",
- "active": true,
- "percent": 25
- },
- {
- "title": "foo",
- "active": false,
- "percent": 25
- },
- {
- "title": "bar",
- "active": false,
- "percent": 10
- },
- {
- "title": "baz",
- "active": true,
- "percent": 15
- }
- ]
- }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement