Package io.gitea.api

Class ActivitypubApi


  • public class ActivitypubApi
    extends java.lang.Object
    • Constructor Detail

      • ActivitypubApi

        public ActivitypubApi()
      • ActivitypubApi

        public ActivitypubApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • activitypubPersonCall

        public com.squareup.okhttp.Call activitypubPersonCall​(java.lang.String username,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException
        Build call for activitypubPerson
        Parameters:
        username - username of the user (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • activitypubPerson

        public ActivityPub activitypubPerson​(java.lang.String username)
                                      throws ApiException
        Returns the Person actor for a user
        Parameters:
        username - username of the user (required)
        Returns:
        ActivityPub
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • activitypubPersonWithHttpInfo

        public ApiResponse<ActivityPub> activitypubPersonWithHttpInfo​(java.lang.String username)
                                                               throws ApiException
        Returns the Person actor for a user
        Parameters:
        username - username of the user (required)
        Returns:
        ApiResponse<ActivityPub>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • activitypubPersonAsync

        public com.squareup.okhttp.Call activitypubPersonAsync​(java.lang.String username,
                                                               ApiCallback<ActivityPub> callback)
                                                        throws ApiException
        Returns the Person actor for a user (asynchronously)
        Parameters:
        username - username of the user (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • activitypubPersonInboxCall

        public com.squareup.okhttp.Call activitypubPersonInboxCall​(java.lang.String username,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException
        Build call for activitypubPersonInbox
        Parameters:
        username - username of the user (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • activitypubPersonInbox

        public void activitypubPersonInbox​(java.lang.String username)
                                    throws ApiException
        Send to the inbox
        Parameters:
        username - username of the user (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • activitypubPersonInboxWithHttpInfo

        public ApiResponse<java.lang.Void> activitypubPersonInboxWithHttpInfo​(java.lang.String username)
                                                                       throws ApiException
        Send to the inbox
        Parameters:
        username - username of the user (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • activitypubPersonInboxAsync

        public com.squareup.okhttp.Call activitypubPersonInboxAsync​(java.lang.String username,
                                                                    ApiCallback<java.lang.Void> callback)
                                                             throws ApiException
        Send to the inbox (asynchronously)
        Parameters:
        username - username of the user (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object