APIs not working in Friendica server 2/2022 #26

Closed
opened 2022-02-12 10:08:30 +01:00 by lubuwest · 5 comments
Owner
  1. api/statuses/friends_timeline: news have three user objects, all are the same even for retoots (in earlier versions friendica_autor was different from user)
  2. For all APIs: in_reply_to_status_id has a value which has no connection to other id in the conversation
  3. posts with embedded content: the images are not in the attachments as was the case in earlier versions
  4. /api/favorites/create and /api/favorites/destroy don't seem to work
  5. mentions (for example !developers) don't work for a new post
  6. /api/friends/list,api/followers/list,api/followers/ids and /api/statuses/friends return {"users":[],"next_cursor":-1,"next_cursor_str":"-","previous_cursor":0,"previous_cursor_str":"0","total_count":0} and not a list of contacts
  7. api/friendships/incoming returns some id but I have no friendship requests in the web view.
  8. api/lists/list returns an empty array
  9. api/friendica/group_show returns the homepage
  10. api/friendica/photo returns the homepage
  11. api/friendica/notifications heisst nun api/friendica/notification
  12. api/friendica/events liefert ein leeres Array trotz vorhandener Events
  13. Permissions not working in /api/statuses/update
1. api/statuses/friends_timeline: news have three user objects, all are the same even for retoots (in earlier versions friendica_autor was different from user) 2. For all APIs: in_reply_to_status_id has a value which has no connection to other id in the conversation 3. posts with embedded content: the images are not in the attachments as was the case in earlier versions 4. /api/favorites/create and /api/favorites/destroy don't seem to work 5. mentions (for example !developers) don't work for a new post 6. /api/friends/list,api/followers/list,api/followers/ids and /api/statuses/friends return {"users":[],"next_cursor":-1,"next_cursor_str":"-","previous_cursor":0,"previous_cursor_str":"0","total_count":0} and not a list of contacts 7. api/friendships/incoming returns some id but I have no friendship requests in the web view. 8. api/lists/list returns an empty array 9. api/friendica/group_show returns the homepage 10. api/friendica/photo returns the homepage 11. api/friendica/notifications heisst nun api/friendica/notification 12. api/friendica/events liefert ein leeres Array trotz vorhandener Events 13. Permissions not working in /api/statuses/update
  1. Reshared content is now stored differently. Because of that you won't detect reshared content anymore based on different authors and owners. Reshares are now separate activities in the database. Question however is how to detect them ...
  2. Yeah, that's a bug. We are using the wrong ID there. That is the ID system that we use in the other API. Possibly we should switch the whole API to that system. Then all API commands would be interchangeable.
  3. I can't reproduce this. I see embedded pictures in the attachments? I need examples for this. Possibly we have to dig into the database for this
  4. Are you getting any errors in return when calling this?
  5. What is happening instead?
  6. Hmm, there should be an array "users" as well. I get this all the time. Have you tried in the browser as well?
  7. These should be all pending contact requests, including the pending ones that you ignored. Can you check that?
  8. Yes, that is a dummy endpoint. But it had been some dummy endpoint before as well.
  9. Yeah, that had been an error.
  10. Same as above, sorry.
  11. Okay, fixed.
  12. I will have a look
  13. Are the permissions ignored?
1. Reshared content is now stored differently. Because of that you won't detect reshared content anymore based on different authors and owners. Reshares are now separate activities in the database. Question however is how to detect them ... 2. Yeah, that's a bug. We are using the wrong ID there. That is the ID system that we use in the other API. Possibly we should switch the whole API to that system. Then all API commands would be interchangeable. 3. I can't reproduce this. I see embedded pictures in the attachments? I need examples for this. Possibly we have to dig into the database for this 4. Are you getting any errors in return when calling this? 5. What is happening instead? 6. Hmm, there should be an array "users" as well. I get this all the time. Have you tried in the browser as well? 7. These should be all pending contact requests, including the pending ones that you ignored. Can you check that? 8. Yes, that is a dummy endpoint. But it had been some dummy endpoint before as well. 9. Yeah, that had been an error. 10. Same as above, sorry. 11. Okay, fixed. 12. I will have a look 13. Are the permissions ignored?

See the Issue 11284 in the Fritneica tracker at github for the subissues of this.

See the Issue [11284](https://github.com/friendica/friendica/issues/11284) in the Fritneica tracker at github for the subissues of this.

Some update: There are now two pull requests that adress several issues. Open from the list above are:

  • "Post with embedded content": Please provide an example, since I can't replicate any issues there.
  • "favorites": The favorite endpoint is used for likes on Twitter. So this endpoint is now doing exactly this. This means that we should create another endpoint for the bookmarks.
  • "mentions": What exactly is happening now?
  • "Friends list": I can't reproduce this.
  • "Incoming requests": I guess these are the ignored requests. Can you check that?
  • "Empty array for lists/list": This was a dummy endpoint before.
  • "Permissions not working": What exactly is happening? Can I test that with with Friendiqa?
Some update: There are now two pull requests that adress several issues. Open from the list above are: - "Post with embedded content": Please provide an example, since I can't replicate any issues there. - "favorites": The favorite endpoint is used for likes on Twitter. So this endpoint is now doing exactly this. This means that we should create another endpoint for the bookmarks. - "mentions": What exactly is happening now? - "Friends list": I can't reproduce this. - "Incoming requests": I guess these are the ignored requests. Can you check that? - "Empty array for lists/list": This was a dummy endpoint before. - "Permissions not working": What exactly is happening? Can I test that with with Friendiqa?
Author
Owner

Permissions are still not working in Friendica 5/2022. I removed the permission Dialog in Friendiqa 0.6.5. I guess you have to speak directly to the API (/api/statuses/update with the group_allow or group_deny or contact_allow or contact_deny parameter).

Permissions are still not working in Friendica 5/2022. I removed the permission Dialog in Friendiqa 0.6.5. I guess you have to speak directly to the API (/api/statuses/update with the group_allow or group_deny or contact_allow or contact_deny parameter).
Author
Owner

api/friendships/incoming: I have four incoming friendship requests, so the return value seems correct. However, the Ids given by that api have no meaning in my view...

api/friendships/incoming: I have four incoming friendship requests, so the return value seems correct. However, the Ids given by that api have no meaning in my view...
Sign in to join this conversation.
No labels
Bug
Feature
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: lubuwest/Friendiqa#26
No description provided.