mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Added endpoint
This commit is contained in:
parent
0440765849
commit
477b8a91db
3 changed files with 121 additions and 0 deletions
|
@ -71,6 +71,7 @@ class Seen extends BaseApi
|
|||
$ret = [DI::twitterStatus()->createFromUriId($item['uri-id'], $item['uid'], $include_entities)->toArray()];
|
||||
$data = ['status' => $ret];
|
||||
DI::apiResponse()->exit('statuses', $data, $this->parameters['extension'] ?? null);
|
||||
return;
|
||||
}
|
||||
// the item can't be found, but we set the notification as seen, so we count this as a success
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue