API needed #3467

Open
rafuru opened this Issue Jul 23, 2012 · 27 comments

Comments

Projects
None yet
@rafuru

rafuru commented Jul 23, 2012

Hi!
I really want to start using Diaspora, but i think diaspora needs an API for make publications from third party apps, like an Android app , like a RSS feeder ..


There is a $1,045 open bounty on this issue. Add to the bounty at Bountysource.

@JeroMiya

This comment has been minimized.

Show comment
Hide comment
@JeroMiya

JeroMiya Aug 28, 2012

My understanding is that this is being worked on. This page was updated in the last month:
https://github.com/diaspora/diaspora/wiki/API-v1

I agree on the importance of an API. An API would allow for the implementation of various mobile clients, and for new kinds of pods that implement the API to specification. It would also allow pods to talk to each other in a more integrated way. For example, a pod could allow you to merge streams with other pods, if they were given an API to talk to each other with.

My understanding is that this is being worked on. This page was updated in the last month:
https://github.com/diaspora/diaspora/wiki/API-v1

I agree on the importance of an API. An API would allow for the implementation of various mobile clients, and for new kinds of pods that implement the API to specification. It would also allow pods to talk to each other in a more integrated way. For example, a pod could allow you to merge streams with other pods, if they were given an API to talk to each other with.

@Flaburgan

This comment has been minimized.

Show comment
Hide comment
@Flaburgan

Flaburgan Jun 3, 2013

Member

Btw, there is an unofficial Diaspora* API in python here : https://github.com/Javafant/diaspora-api

Member

Flaburgan commented Jun 3, 2013

Btw, there is an unofficial Diaspora* API in python here : https://github.com/Javafant/diaspora-api

@rivendale2010

This comment has been minimized.

Show comment
Hide comment
@rivendale2010

rivendale2010 Jun 4, 2013

Contributor

i think the python API is more of a shunt. i mean it's on the wrong end for an API. it does not remove the developer from changes in the back end

Contributor

rivendale2010 commented Jun 4, 2013

i think the python API is more of a shunt. i mean it's on the wrong end for an API. it does not remove the developer from changes in the back end

@Flaburgan

This comment has been minimized.

Show comment
Hide comment
@Flaburgan

Flaburgan Dec 26, 2013

Member

Here is the current work to integrate an API inside diaspora* #4554

Member

Flaburgan commented Dec 26, 2013

Here is the current work to integrate an API inside diaspora* #4554

@jhass jhass added the bounty label Feb 21, 2015

@cmshawns

This comment has been minimized.

Show comment
Hide comment
@cmshawns

cmshawns Mar 2, 2015

Looking at the growing bounty for this issue (which I'm happy to see), has anyone discussed how the bounty would actually work? "Create an API" is not a simple task and will likely involve many people and many contributions.

cmshawns commented Mar 2, 2015

Looking at the growing bounty for this issue (which I'm happy to see), has anyone discussed how the bounty would actually work? "Create an API" is not a simple task and will likely involve many people and many contributions.

@deutrino

This comment has been minimized.

Show comment
Hide comment
@deutrino

deutrino Jun 11, 2015

This now has a $1,000 bounty on this issue.

Here's what I've found in the wiki: https://wiki.diasporafoundation.org/Diaspora_API_proposal

With a $1,000 bounty, clear deliverables need to exist.

This now has a $1,000 bounty on this issue.

Here's what I've found in the wiki: https://wiki.diasporafoundation.org/Diaspora_API_proposal

With a $1,000 bounty, clear deliverables need to exist.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jun 11, 2015

My understanding of the bounty on this one is pretty much as per the very first post in this thread:

i think diaspora needs an API for make publications from third party apps

Yes, yes it does.

ghost commented Jun 11, 2015

My understanding of the bounty on this one is pretty much as per the very first post in this thread:

i think diaspora needs an API for make publications from third party apps

Yes, yes it does.

@jaywink

This comment has been minimized.

Show comment
Hide comment
@jaywink

jaywink Jun 11, 2015

Contributor

Totally agree - the situation is kinda getting out of hand. We need to lock a clear list of deliverables for the bounty to be given. And agree on what happens if multiple developers implement parts of it.

Hitting Loomio, let's report back here once those are done..

Edit: Discussion here --> https://www.loomio.org/d/cedTCbsI/the-api-bounty-deliverables

Contributor

jaywink commented Jun 11, 2015

Totally agree - the situation is kinda getting out of hand. We need to lock a clear list of deliverables for the bounty to be given. And agree on what happens if multiple developers implement parts of it.

Hitting Loomio, let's report back here once those are done..

Edit: Discussion here --> https://www.loomio.org/d/cedTCbsI/the-api-bounty-deliverables

@jaywink jaywink added the needs spec label Jun 11, 2015

@jaywink

This comment has been minimized.

Show comment
Hide comment
@jaywink

jaywink Jul 7, 2015

Contributor

IMPORTANT to any developers wanting to tackle the API.

We've talked about deliverables and submitted an initial wiki page regarding items that the API must offer: https://wiki.diasporafoundation.org/Diaspora_API_proposal

Additional details will be filled in as required. Please don't be afraid to ask questions. Also please note, many people might be working on parts of this simultaneously, so collaboration via the Loomio thread or here is recommended. For example, some of the authorization token stuff has already started by @AugierLe42e and @theworldbright .

Contributor

jaywink commented Jul 7, 2015

IMPORTANT to any developers wanting to tackle the API.

We've talked about deliverables and submitted an initial wiki page regarding items that the API must offer: https://wiki.diasporafoundation.org/Diaspora_API_proposal

Additional details will be filled in as required. Please don't be afraid to ask questions. Also please note, many people might be working on parts of this simultaneously, so collaboration via the Loomio thread or here is recommended. For example, some of the authorization token stuff has already started by @AugierLe42e and @theworldbright .

@jaywink jaywink removed the needs spec label Jul 7, 2015

@jhass jhass added the api label Jul 9, 2015

@warent

This comment has been minimized.

Show comment
Hide comment
@warent

warent Dec 17, 2015

oAuth 1 and oAuth 2 are both garbage. Even the original creator hates it. I strongly recommend JWT authentication, because it is considered far more secure and not nearly over-engineered like oAuth.

warent commented Dec 17, 2015

oAuth 1 and oAuth 2 are both garbage. Even the original creator hates it. I strongly recommend JWT authentication, because it is considered far more secure and not nearly over-engineered like oAuth.

@jhass

This comment has been minimized.

Show comment
Hide comment
@jhass

jhass Dec 17, 2015

Member

@warent we almost completed OpenID Connect, see #6095

Member

jhass commented Dec 17, 2015

@warent we almost completed OpenID Connect, see #6095

@3rdwiki

This comment has been minimized.

Show comment
Hide comment
@3rdwiki

3rdwiki Jan 13, 2017

Is this closed ? been over a year since last comment.

3rdwiki commented Jan 13, 2017

Is this closed ? been over a year since last comment.

@denschub

This comment has been minimized.

Show comment
Hide comment
@denschub

denschub Jan 13, 2017

Member

There's a fancy green "OPEN" label in the top of this issue, so it's probably not closed.

Member

denschub commented Jan 13, 2017

There's a fancy green "OPEN" label in the top of this issue, so it's probably not closed.

@brandiqa

This comment has been minimized.

Show comment
Hide comment
@brandiqa

brandiqa Apr 22, 2017

Just a suggestion, can the API be built using FeathersJS and then enable Diaspora to access the API either through a REST client or a Socket.io client. I've noticed building an RoR API takes time and requires a lot of effort to sync it with the latest code.

Just a suggestion, can the API be built using FeathersJS and then enable Diaspora to access the API either through a REST client or a Socket.io client. I've noticed building an RoR API takes time and requires a lot of effort to sync it with the latest code.

@corysimmons

This comment has been minimized.

Show comment
Hide comment
@corysimmons

corysimmons Jun 22, 2017

@brandiqa Seems like breaking the API off to Node wouldn't be ideal since all the models/controllers already exist as Ruby. 🤔

@brandiqa Seems like breaking the API off to Node wouldn't be ideal since all the models/controllers already exist as Ruby. 🤔

@brandiqa

This comment has been minimized.

Show comment
Hide comment
@brandiqa

brandiqa Jun 22, 2017

The controllers can be rewritten to access data from the Node API. Am only suggesting this because it seems like it's difficult to catch up with the latest developments in core as you write new API code in Ruby.

The controllers can be rewritten to access data from the Node API. Am only suggesting this because it seems like it's difficult to catch up with the latest developments in core as you write new API code in Ruby.

@KentShikama

This comment has been minimized.

Show comment
Hide comment
@KentShikama

KentShikama Jun 23, 2017

Contributor
Contributor

KentShikama commented Jun 23, 2017

@corysimmons

This comment has been minimized.

Show comment
Hide comment
@corysimmons

corysimmons Jun 23, 2017

To be clear, since this will already be challenging converting the JSON to the endpoints you've spec'd via a Ruby/Rails API, you are open to other languages/frameworks like Node/Feathers, or possibly Elixir/Phoenix?

And does the team have any thoughts so far as GraphQL and/or streams?

To be clear, since this will already be challenging converting the JSON to the endpoints you've spec'd via a Ruby/Rails API, you are open to other languages/frameworks like Node/Feathers, or possibly Elixir/Phoenix?

And does the team have any thoughts so far as GraphQL and/or streams?

@KentShikama

This comment has been minimized.

Show comment
Hide comment
@KentShikama

KentShikama Jun 23, 2017

Contributor
Contributor

KentShikama commented Jun 23, 2017

@goobertron

This comment has been minimized.

Show comment
Hide comment
@goobertron

goobertron Jul 10, 2017

This discussion really belongs on Discourse.

Here are some existing discussions:
https://discourse.diasporafoundation.org/search?q=api

goobertron commented Jul 10, 2017

This discussion really belongs on Discourse.

Here are some existing discussions:
https://discourse.diasporafoundation.org/search?q=api

@diaspora diaspora deleted a comment from 3rdwiki Jul 11, 2017

@diaspora diaspora deleted a comment from thwee-alchemist Jul 11, 2017

@diaspora diaspora deleted a comment from corysimmons Jul 11, 2017

@denschub

This comment has been minimized.

Show comment
Hide comment
@denschub

denschub Jul 11, 2017

Member

I deleted three comments for not being related to this discussion. Please refrain from posting "I want this!!" or "if you don't have this, the project is dead!!" comments, since those add no value to this thread. Thanks. ;)

Member

denschub commented Jul 11, 2017

I deleted three comments for not being related to this discussion. Please refrain from posting "I want this!!" or "if you don't have this, the project is dead!!" comments, since those add no value to this thread. Thanks. ;)

@corysimmons

This comment has been minimized.

Show comment
Hide comment
@corysimmons

corysimmons Jul 11, 2017

lol, okay. 👋

lol, okay. 👋

@Hexenon

This comment has been minimized.

Show comment
Hide comment
@Hexenon

Hexenon Sep 19, 2017

I can have it done. Is it still open?

Hexenon commented Sep 19, 2017

I can have it done. Is it still open?

@Flaburgan

This comment has been minimized.

Show comment
Hide comment
@Flaburgan

Flaburgan Sep 19, 2017

Member

It is. Please note that the specification of the API you have to implement are available here.

Also, do not start from scratch, base your work on this pull request #7462 and maybe talk with @KentShikama and @frankrousseau to know the current state of this work.

Member

Flaburgan commented Sep 19, 2017

It is. Please note that the specification of the API you have to implement are available here.

Also, do not start from scratch, base your work on this pull request #7462 and maybe talk with @KentShikama and @frankrousseau to know the current state of this work.

@frankrousseau

This comment has been minimized.

Show comment
Hide comment
@frankrousseau

frankrousseau Sep 20, 2017

Yep I would be glad to help. Las months have been very busy on my side. I will push my changes to the PR. I almost finished the conversation controllers.

Yep I would be glad to help. Las months have been very busy on my side. I will push my changes to the PR. I almost finished the conversation controllers.

@lasantha78

This comment has been minimized.

Show comment
Hide comment
@lasantha78

lasantha78 Jun 7, 2018

What is the update of this issue ? Anybody still working on it ? When can we expect API for Diaspora ?

What is the update of this issue ? Anybody still working on it ? When can we expect API for Diaspora ?

@frankrousseau

This comment has been minimized.

Show comment
Hide comment
@frankrousseau

frankrousseau Jun 7, 2018

I'm still working on it. But I'm waiting for code reviews from maintainers.

I'm still working on it. But I'm waiting for code reviews from maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment