Class ProfileApi.GetProfile

Enclosing class:
ProfileApi

public final class ProfileApi.GetProfile extends EndpointCategoryCall<ProfileApi.GetProfile>
Handler for the getProfile API method that lets you choose the content type via the Accept header.
  • Method Details

    • self

      protected ProfileApi.GetProfile self()
      Specified by:
      self in class ApiCall<ProfileApi.GetProfile>
    • endpointCategory

      public Class<? extends EndpointCategory> endpointCategory()
      Specified by:
      endpointCategory in class EndpointCategoryCall<ProfileApi.GetProfile>
      Returns:
      The endpoint category that created this API call.
    • requestJson

      Calls the API with the Accept header set to application/json; charset=utf-8.

      Retrieves the profile of the requesting user Retrieves a profile based on the requesting user.

      Status codes that may be returned by this API call:

      • 200 - The profile.
      Returns:
      A completion stage that resolves with the data returned by the API.
    • requestJson_v1_0

      public ApiInvocation<DetailedUserProfileResource> requestJson_v1_0()
      Calls the API with the Accept header set to application/vnd.xima.fc.api.rest.public+json; version=1.0; charset=utf-8.

      Retrieves the profile of the requesting user Retrieves a profile based on the requesting user.

      Status codes that may be returned by this API call:

      • 200 - The profile.
      Returns:
      A completion stage that resolves with the data returned by the API.