Comments (17)
@drpepper Basically all actions should be possible through API. The API server is oAuth2 compliant.
Simple documentation and API explorer/sandbox can be viewed in browser at http://yourdomain/api_explorer/ For example, http://board.demo.restya.com/api_explorer/
Just now, we have noticed that file upload endpoints are not included in above explorer; we'll add them in upcoming version.
For your case, the possible flow will be:
GET /v1/oauth.json
- to get guestaccess_token
for all other API calls (All API calls are oAuth protected)POST /v1/users/login.json
- to login to admin user. This will return higher levelaccess_token
that you can pass it for high level API callsPOST /v1/boards.json
- create new board
Please let us know how it goes!
from board.
Great, I'll try that out!
from board.
After going through the API explorer, which is great by the way, I have a few further questions, please:
- We are planning on integrating the Restyaboard interface via an iFrame, and using our existing server to create users and boards for our existing users and groups, and logging these users automatically within the iframe. Would this be possible? I don't see anything about embedding in the docs...
- How are the notifications sent from the server to the client? Are they accessible via the API as well?
- What do you use to format the API explorer, please?
from board.
We are planning on integrating the Restyaboard interface via an iFrame, and using our existing server to create users and boards for our existing users and groups, and logging these users automatically within the iframe. Would this be possible? I don't see anything about embedding in the docs...
Untested, but might work. After login, please try storing access_token
in auth
key in sessionStorage
Refer https://github.com/RestyaPlatform/board/blob/master/client/js/views/login_view.js#L54
How are the notifications sent from the server to the client? Are they accessible via the API as well?
Yes, through activities.json
endpoint
What do you use to format the API explorer, please?
We use Swagger UI https://github.com/swagger-api/swagger-ui
It is mentioned in credits section of "About" page http://board.demo.restya.com/#/about This page is accessible by clicking Restyaboard icon found in left corner of the footer.
from board.
@drpepper Are things working as expected?
from board.
@rrjanbiah Haven't done it yet but will keep you posted!
from board.
@drpepper OK, sure!
from board.
Hi,
I am trying to access rest API through postman using auth. But request to api only returns access token. But not able to do it.
from board.
@jaiBITS As I mentioned above #17 (comment), all API endpoints, except /v1/oauth.json
are oAuth2 protected. You'll need access_token
to access all other APIs.
We're not familiar with postman. So, if you're able to figure it out, please share your findings.
from board.
@jaiBITS Were you able to figure it out? Do you need any help from us?
from board.
Closing this for now. If you get any issues, please feel free to reopen.
from board.
Reopening this as we're getting similar such requests. Have to properly document the workflow somewhere.
from board.
Fixed on this commit ae6b1c0.
from board.
@lmarikannan Reopening this as above fix is not really helpful in understanding the API workflow. Need proper documentation.
from board.
This isn't look like a correct fix/solution. Reopening.
from board.
Updated on restya.com API documentation - http://restya.com/board/docs/api
from board.
i am trying to login into restyaboard through api
i first get the outh token (success)
then login though login.json (sucess)
then i redirect to domain.com/#/boards it redirect me to login page
from board.
Related Issues (20)
- Cannot save user details on minimal docker setup HOT 3
- Feature suggestion: More customizable card summary display HOT 2
- Kubuntu fresh install, #/users/login -> blank page HOT 14
- Feature request: board URL path settings HOT 1
- Feature request: Put board name before site name HOT 3
- "Remove cover" doesn't seem to actually remove the cover image HOT 3
- ubuntu 20.04 new install blank screen HOT 2
- Allow `@` using full name as well as username
- Is Restya.com down today?
- running version 1.7.1, can't get access to api explorer
- Card numbers
- Activity time is offset by 2 hours
- C:\Program Files\PostgreSQL\13\bin>psql -h localhost -d restyabord -U postgres -w < C:\xampp\htdocs\Restyaboard\sql\restyaboard_with_empty_data.sql psql: error: fe_sendauth: no password supplied HOT 1
- Security concern
- https://restya.com/board is not found (404) HOT 7
- Unable to Curl/Access Restya.com HOT 1
- nginx: [emerg] invalid number of arguments in "root" directive in /etc/nginx/sites-enabled/default: 23
- Docker Organization will be removed if not upgraded HOT 1
- Demo unavailable
- Project dead? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from board.