Package io.github.kaposke.services
Class ApiService
java.lang.Object
io.github.kaposke.services.BaseService
io.github.kaposke.services.ApiService
- All Implemented Interfaces:
ApiClient
-
Field Summary
Fields inherited from class io.github.kaposke.services.BaseService
httpClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateApiRequest input) getApiBuilds(float id) getApiByOrgSlugAndApiSlug(String orgSlug, String apiSlug) getApiDocs(float id) getApiMembers(float id) getApis(float orgId) getApiSdks(float id) getById(float id) remove(float id) update(UpdateApiRequest input, float id) Methods inherited from class io.github.kaposke.services.BaseService
execute
-
Constructor Details
-
ApiService
public ApiService(okhttp3.OkHttpClient httpClient)
-
-
Method Details
-
getApis
- Specified by:
getApisin interfaceApiClient- Throws:
ApiException
-
create
- Specified by:
createin interfaceApiClient- Throws:
ApiException
-
getById
- Specified by:
getByIdin interfaceApiClient- Throws:
ApiException
-
update
- Specified by:
updatein interfaceApiClient- Throws:
ApiException
-
remove
- Specified by:
removein interfaceApiClient- Throws:
ApiException
-
getApiMembers
- Specified by:
getApiMembersin interfaceApiClient- Throws:
ApiException
-
getApiSdks
- Specified by:
getApiSdksin interfaceApiClient- Throws:
ApiException
-
getApiDocs
- Specified by:
getApiDocsin interfaceApiClient- Throws:
ApiException
-
getApiBuilds
- Specified by:
getApiBuildsin interfaceApiClient- Throws:
ApiException
-
getApiByOrgSlugAndApiSlug
public List<ApiResponse> getApiByOrgSlugAndApiSlug(String orgSlug, String apiSlug) throws ApiException - Specified by:
getApiByOrgSlugAndApiSlugin interfaceApiClient- Throws:
ApiException
-