freunde.ma-nic.de

Marco R. friendica

Event Create API PR

!Friendica Developers

Hello, I was surprised that https://github.com/friendica/friendica/pull/11763 was net merged yet.

I am fine with the proposed changes, but unable to do them myself without github access. I just need to know, which API endpoints I can use in my Friendiqa App. I am already implementing the GUI for event creation...
1 1
Hypolite Petovan friendica (via ActivityPub)
There's a remaining question: https://github.com/friendica/friendica/pull/11763#discussion_r932611532

Once you weigh in on this since you're the stakeholder in this case, we'll be able to move forward, one way or another.
1
Marco R. friendica
Yes, you can change the API names and Http Methods. I just want to know which endpoints I need to speak to in my Friendiqa APP.
1
Hypolite Petovan friendica (via ActivityPub)
Thank you for your answer. Changing the API names and methods will take more time, delaying the PR, so it really is up to you.
1
Marco R. friendica
I just want the PR merged with whatever changes the senior developers require. If existing APIs are changed, a ping in this forum would be nice, so that I can change my client accordingly.
1
Hypolite Petovan friendica (via ActivityPub)
Ok, so I won't change the structure of the API, it isn't worth it if you don't require it, so that the PR can be merged right now.
1 1
Hypolite Petovan friendica (via ActivityPub)
The PR has been merged on the RC branch, let me know if it's working as intended!
1 1
Marco R. friendica
Hello,
it is currently not working. The problem is that the Event::store needs an object with event['start'] and event['finish'] but instead other elements are supplied in the object:

$event['start_time'] = $start;
$event['end_time'] = $finish;

The elements are not the API parameters!

Thank you for your help. I wonder if it could be corrected in the RC... 😀
1
Hypolite Petovan friendica (via ActivityPub)
It sure can, we haven't decided on an actual release date for the 2022.0910 version.
1
Marco R. friendica
Awesome, thank you!
1