gitea-rs/crates/gitea-client/docs/ActivitypubApi.md
kjuulh e78d07db33
feat: find another name
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-09-23 22:29:11 +02:00

2.2 KiB

\ActivitypubApi

All URIs are relative to /api/v1

Method HTTP request Description
activitypub_person GET /activitypub/user-id/{user_id} Returns the Person actor for a user
activitypub_person_inbox POST /activitypub/user-id/{user_id}/inbox Send to the inbox

activitypub_person

models::ActivityPub activitypub_person(user_id) Returns the Person actor for a user

Parameters

Name Type Description Required Notes
user_id i32 user ID of the user [required]

Return type

models::ActivityPub

Authorization

TOTPHeader, AuthorizationHeaderToken, SudoHeader, BasicAuth, AccessToken, SudoParam, Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

activitypub_person_inbox

activitypub_person_inbox(user_id) Send to the inbox

Parameters

Name Type Description Required Notes
user_id i32 user ID of the user [required]

Return type

(empty response body)

Authorization

TOTPHeader, AuthorizationHeaderToken, SudoHeader, BasicAuth, AccessToken, SudoParam, Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]