Skip to content

Repository files navigation

phrase-java

Phrase Strings API Reference

  • API version: 2.0.0
  • Package version: 3.23.0

Phrase Strings is a translation management platform for software projects. You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase Strings for your account.

For more information, please visit https://developers.phrase.com/api/

Automatically generated by the OpenAPI Generator

Requirements

Building the API client library requires:

  1. Java 1.8+
  2. Maven/Gradle

Installation

Maven users

Add this dependency to your project's POM:

<dependency>
<groupId>com.phrase</groupId>
<artifactId>phrase-java</artifactId>
<version>3.23.0</version>
<scope>compile</scope>
</dependency>

Gradle users

Add this dependency to your project's build file:

compile "com.phrase:phrase-java:3.23.0"

Others

At first generate the JAR by executing:

mvn clean package

Then manually install the following JARs:

  • target/phrase-java-3.23.0.jar
  • target/lib/*.jar

Github package repository

Currently the packages are also automatically deployed to Github package repository, so that you don't need to build them yourself. Follow this guide to set it up in your project.

Getting Started

Please follow the installation instruction and execute the following Java code:

importcom.phrase.client.*;
importcom.phrase.client.auth.*;
importcom.phrase.client.model.*;
importcom.phrase.client.api.AccountsApi;
publicclassAccountsApiExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.phrase.com/v2");
// Configure HTTP basic authorization: BasicHttpBasicAuthBasic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
Basic.setUsername("YOUR USERNAME");
Basic.setPassword("YOUR PASSWORD");
// Configure API key authorization: TokenApiKeyAuthToken = (ApiKeyAuth) defaultClient.getAuthentication("Token");
Token.setApiKey("YOUR API KEY");
Token.setApiKeyPrefix("token");
AccountsApiapiInstance = newAccountsApi(defaultClient);
Stringid = "id_example"; // String | IDStringxPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)try {
AccountDetailsresult = apiInstance.accountShow(id, xPhraseAppOTP);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling AccountsApi#accountShow");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}

Documentation for API Endpoints

All URIs are relative to https://api.phrase.com/v2

ClassMethodHTTP requestDescription
AccountsApiaccountShowGET /accounts/{id}Get a single account
AccountsApiaccountsListGET /accountsList accounts
AuthorizationsApiauthorizationCreatePOST /authorizationsCreate an authorization
AuthorizationsApiauthorizationDeleteDELETE /authorizations/{id}Delete an authorization
AuthorizationsApiauthorizationShowGET /authorizations/{id}Get a single authorization
AuthorizationsApiauthorizationUpdatePATCH /authorizations/{id}Update an authorization
AuthorizationsApiauthorizationsListGET /authorizationsList authorizations
AutomationEventsApiaccountAutomationEventsListGET /accounts/{account_id}/automation_eventsList automation events for an account
AutomationEventsApiautomationEventsListGET /accounts/{account_id}/automations/{automation_id}/eventsList events for an automation
AutomationsApiautomationActivatePOST /accounts/{account_id}/automations/{automation_id}/activateActivate an automation
AutomationsApiautomationCreatePOST /accounts/{account_id}/automationsCreate an automation
AutomationsApiautomationDeactivatePOST /accounts/{account_id}/automations/{automation_id}/deactivateDeactivate an automation
AutomationsApiautomationDeleteDELETE /accounts/{account_id}/automations/{automation_id}Destroy automation
AutomationsApiautomationShowGET /accounts/{account_id}/automations/{automation_id}Get a single automation
AutomationsApiautomationTriggerPOST /accounts/{account_id}/automations/{automation_id}/triggerTrigger an automation
AutomationsApiautomationUpdatePATCH /accounts/{account_id}/automations/{automation_id}Update an automation
AutomationsApiautomationsListGET /accounts/{account_id}/automationsList automations
BlacklistedKeysApiblacklistedKeyCreatePOST /projects/{project_id}/blacklisted_keysCreate a blocked key
BlacklistedKeysApiblacklistedKeyDeleteDELETE /projects/{project_id}/blacklisted_keys/{id}Delete a blocked key
BlacklistedKeysApiblacklistedKeyShowGET /projects/{project_id}/blacklisted_keys/{id}Get a single blocked key
BlacklistedKeysApiblacklistedKeyUpdatePATCH /projects/{project_id}/blacklisted_keys/{id}Update a blocked key
BlacklistedKeysApiblacklistedKeysListGET /projects/{project_id}/blacklisted_keysList blocked keys
BranchesApibranchCompareGET /projects/{project_id}/branches/{name}/compareCompare branches
BranchesApibranchComparisonCreatePOST /projects/{project_id}/branches/{name}/compareCreate comparison (async.)
BranchesApibranchCreatePOST /projects/{project_id}/branchesCreate a branch
BranchesApibranchDeleteDELETE /projects/{project_id}/branches/{name}Delete a branch
BranchesApibranchMergePATCH /projects/{project_id}/branches/{name}/mergeMerge a branch
BranchesApibranchShowGET /projects/{project_id}/branches/{name}Get a single branch
BranchesApibranchSyncPATCH /projects/{project_id}/branches/{name}/syncSync a branch
BranchesApibranchUpdatePATCH /projects/{project_id}/branches/{name}Update a branch
BranchesApibranchesListGET /projects/{project_id}/branchesList branches
CommentReactionsApireactionCreatePOST /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactionsCreate a reaction
CommentReactionsApireactionDeleteDELETE /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactions/{id}Delete a reaction
CommentReactionsApireactionShowGET /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactions/{id}Get a single reaction
CommentReactionsApireactionsListGET /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactionsList reactions
CommentRepliesApirepliesListGET /projects/{project_id}/keys/{key_id}/comments/{comment_id}/repliesList replies
CommentRepliesApireplyCreatePOST /projects/{project_id}/keys/{key_id}/comments/{comment_id}/repliesCreate a reply
CommentRepliesApireplyDeleteDELETE /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}Delete a reply
CommentRepliesApireplyMarkAsReadPATCH /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}/mark_as_readMark a reply as read
CommentRepliesApireplyMarkAsUnreadPATCH /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}/mark_as_unreadMark a reply as unread
CommentRepliesApireplyShowGET /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}Get a single reply
CommentsApicommentCreatePOST /projects/{project_id}/keys/{key_id}/commentsCreate a comment
CommentsApicommentDeleteDELETE /projects/{project_id}/keys/{key_id}/comments/{id}Delete a comment
CommentsApicommentMarkCheckGET /projects/{project_id}/keys/{key_id}/comments/{id}/readCheck if comment is read
CommentsApicommentMarkReadPATCH /projects/{project_id}/keys/{key_id}/comments/{id}/readMark a comment as read
CommentsApicommentMarkUnreadDELETE /projects/{project_id}/keys/{key_id}/comments/{id}/readMark a comment as unread
CommentsApicommentShowGET /projects/{project_id}/keys/{key_id}/comments/{id}Get a single comment
CommentsApicommentUpdatePATCH /projects/{project_id}/keys/{key_id}/comments/{id}Update a comment
CommentsApicommentsListGET /projects/{project_id}/keys/{key_id}/commentsList comments
CustomMetadataApicustomMetadataPropertiesDeleteDELETE /accounts/{account_id}/custom_metadata/properties/{id}Destroy property
CustomMetadataApicustomMetadataPropertiesListGET /accounts/{account_id}/custom_metadata/propertiesList properties
CustomMetadataApicustomMetadataPropertyCreatePOST /accounts/{account_id}/custom_metadata/propertiesCreate a property
CustomMetadataApicustomMetadataPropertyShowGET /accounts/{account_id}/custom_metadata/properties/{id}Get a single property
CustomMetadataApicustomMetadataPropertyUpdatePATCH /accounts/{account_id}/custom_metadata/properties/{id}Update a property
DistributionsApidistributionCreatePOST /accounts/{account_id}/distributionsCreate a distribution
DistributionsApidistributionDeleteDELETE /accounts/{account_id}/distributions/{id}Delete a distribution
DistributionsApidistributionShowGET /accounts/{account_id}/distributions/{id}Get a single distribution
DistributionsApidistributionUpdatePATCH /accounts/{account_id}/distributions/{id}Update a distribution
DistributionsApidistributionsListGET /accounts/{account_id}/distributionsList distributions
DocumentsApidocumentDeleteDELETE /projects/{project_id}/documents/{id}Delete document
DocumentsApidocumentsListGET /projects/{project_id}/documentsList documents
FigmaAttachmentsApifigmaAttachmentCreatePOST /projects/{project_id}/figma_attachmentsCreate a Figma attachment
FigmaAttachmentsApifigmaAttachmentDeleteDELETE /projects/{project_id}/figma_attachments/{id}Delete a Figma attachment
FigmaAttachmentsApifigmaAttachmentShowGET /projects/{project_id}/figma_attachments/{id}Get a single Figma attachment
FigmaAttachmentsApifigmaAttachmentUpdatePATCH /projects/{project_id}/figma_attachments/{id}Update a Figma attachment
FigmaAttachmentsApifigmaAttachmentsListGET /projects/{project_id}/figma_attachmentsList Figma attachments
FormatsApiformatsListGET /formatsList formats
GlossariesApiglossariesListGET /accounts/{account_id}/glossariesList term bases
GlossariesApiglossaryCreatePOST /accounts/{account_id}/glossariesCreate a term base
GlossariesApiglossaryDeleteDELETE /accounts/{account_id}/glossaries/{id}Delete a term base
GlossariesApiglossaryShowGET /accounts/{account_id}/glossaries/{id}Get a single term base
GlossariesApiglossaryUpdatePATCH /accounts/{account_id}/glossaries/{id}Update a term base
GlossaryTermTranslationsApiglossaryTermTranslationCreatePOST /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translationsCreate a translation for a term
GlossaryTermTranslationsApiglossaryTermTranslationDeleteDELETE /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id}Delete a translation for a term
GlossaryTermTranslationsApiglossaryTermTranslationUpdatePATCH /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id}Update a translation for a term
GlossaryTermsApiglossaryTermCreatePOST /accounts/{account_id}/glossaries/{glossary_id}/termsCreate a term
GlossaryTermsApiglossaryTermDeleteDELETE /accounts/{account_id}/glossaries/{glossary_id}/terms/{id}Delete a term
GlossaryTermsApiglossaryTermShowGET /accounts/{account_id}/glossaries/{glossary_id}/terms/{id}Get a single term
GlossaryTermsApiglossaryTermUpdatePATCH /accounts/{account_id}/glossaries/{glossary_id}/terms/{id}Update a term
GlossaryTermsApiglossaryTermsListGET /accounts/{account_id}/glossaries/{glossary_id}/termsList terms
IcuApiicuSkeletonPOST /icu/skeletonBuild ICU skeletons
InvitationsApiinvitationCreatePOST /accounts/{account_id}/invitationsCreate a new invitation
InvitationsApiinvitationDeleteDELETE /accounts/{account_id}/invitations/{id}Delete an invitation
InvitationsApiinvitationResendPOST /accounts/{account_id}/invitations/{id}/resendResend an invitation
InvitationsApiinvitationShowGET /accounts/{account_id}/invitations/{id}Get a single invitation
InvitationsApiinvitationUpdatePATCH /accounts/{account_id}/invitations/{id}Update an invitation
InvitationsApiinvitationUpdateSettingsPATCH /projects/{project_id}/invitations/{id}Update a member's invitation access
InvitationsApiinvitationsListGET /accounts/{account_id}/invitationsList invitations
JobAnnotationsApijobAnnotationDeleteDELETE /projects/{project_id}/jobs/{job_id}/annotations/{id}Delete a job annotation
JobAnnotationsApijobAnnotationUpdatePATCH /projects/{project_id}/jobs/{job_id}/annotations/{id}Create/Update a job annotation
JobAnnotationsApijobAnnotationsListGET /projects/{project_id}/jobs/{job_id}/annotationsList job annotations
JobAnnotationsApijobLocaleAnnotationDeleteDELETE /projects/{project_id}/jobs/{job_id}/locales/{job_locale_id}/annotations/{id}Delete a job locale annotation
JobAnnotationsApijobLocaleAnnotationUpdatePATCH /projects/{project_id}/jobs/{job_id}/locales/{job_locale_id}/annotations/{id}Create/Update a job locale annotation
JobAnnotationsApijobLocaleAnnotationsListGET /projects/{project_id}/jobs/{job_id}/locales/{job_locale_id}/annotationsList job locale annotations
JobCommentsApijobCommentCreatePOST /projects/{project_id}/jobs/{job_id}/commentsCreate a job comment
JobCommentsApijobCommentDeleteDELETE /projects/{project_id}/jobs/{job_id}/comments/{id}Delete a job comment
JobCommentsApijobCommentShowGET /projects/{project_id}/jobs/{job_id}/comments/{id}Get a single job comment
JobCommentsApijobCommentUpdatePATCH /projects/{project_id}/jobs/{job_id}/comments/{id}Update a job comment
JobCommentsApijobCommentsListGET /projects/{project_id}/jobs/{job_id}/commentsList job comments
JobLocalesApijobLocaleCompletePOST /projects/{project_id}/jobs/{job_id}/locales/{id}/completeComplete a job locale
JobLocalesApijobLocaleCompleteReviewPOST /projects/{project_id}/jobs/{job_id}/locales/{id}/complete_reviewReview a job locale
JobLocalesApijobLocaleDeleteDELETE /projects/{project_id}/jobs/{job_id}/locales/{id}Remove a target locale from a job
JobLocalesApijobLocaleReopenPOST /projects/{project_id}/jobs/{job_id}/locales/{id}/reopenReopen a job locale
JobLocalesApijobLocaleShowGET /projects/{project_id}/jobs/{job_id}/locales/{id}Show single job target locale
JobLocalesApijobLocaleUpdatePATCH /projects/{project_id}/jobs/{job_id}/locales/{id}Update a job target locale
JobLocalesApijobLocalesCreatePOST /projects/{project_id}/jobs/{job_id}/localesAdd a target locale to a job
JobLocalesApijobLocalesListGET /projects/{project_id}/jobs/{job_id}/localesList job target locales
JobTemplateLocalesApijobTemplateLocaleDeleteDELETE /projects/{project_id}/job_templates/{job_template_id}/locales/{job_template_locale_id}Delete a job template locale
JobTemplateLocalesApijobTemplateLocaleShowGET /projects/{project_id}/job_templates/{job_template_id}/locales/{job_template_locale_id}Get a single job template locale
JobTemplateLocalesApijobTemplateLocaleUpdatePATCH /projects/{project_id}/job_templates/{job_template_id}/locales/{job_template_locale_id}Update a job template locale
JobTemplateLocalesApijobTemplateLocalesCreatePOST /projects/{project_id}/job_templates/{job_template_id}/localesCreate a job template locale
JobTemplateLocalesApijobTemplateLocalesListGET /projects/{project_id}/job_templates/{job_template_id}/localesList job template locales
JobTemplatesApijobTemplateCreatePOST /projects/{project_id}/job_templatesCreate a job template
JobTemplatesApijobTemplateDeleteDELETE /projects/{project_id}/job_templates/{id}Delete a job template
JobTemplatesApijobTemplateUpdatePATCH /projects/{project_id}/job_templates/{id}Update a job template
JobTemplatesApijobTemplatesListGET /projects/{project_id}/job_templatesList job templates
JobTemplatesApijobTemplatesShowGET /projects/{project_id}/job_templates/{id}Get a single job template
JobsApijobCompletePOST /projects/{project_id}/jobs/{id}/completeComplete a job
JobsApijobCreatePOST /projects/{project_id}/jobsCreate a job
JobsApijobDeleteDELETE /projects/{project_id}/jobs/{id}Delete a job
JobsApijobKeysCreatePOST /projects/{project_id}/jobs/{id}/keysAdd keys to job
JobsApijobKeysDeleteDELETE /projects/{project_id}/jobs/{id}/keysRemove keys from job
JobsApijobLockPOST /projects/{project_id}/jobs/{id}/lockLock a job
JobsApijobReopenPOST /projects/{project_id}/jobs/{id}/reopenReopen a job
JobsApijobShowGET /projects/{project_id}/jobs/{id}Get a single job
JobsApijobStartPOST /projects/{project_id}/jobs/{id}/startStart a job
JobsApijobUnlockPOST /projects/{project_id}/jobs/{id}/unlockUnlock a job
JobsApijobUpdatePATCH /projects/{project_id}/jobs/{id}Update a job
JobsApijobsByAccountGET /accounts/{account_id}/jobsList account jobs
JobsApijobsListGET /projects/{project_id}/jobsList jobs
KeyFormatAnnotationsApikeyFormatAnnotationsListGET /projects/{project_id}/keys/{id}/format_annotationsList format annotations for a key
KeysApikeyCreatePOST /projects/{project_id}/keysCreate a key
KeysApikeyDeleteDELETE /projects/{project_id}/keys/{id}Delete a key
KeysApikeyShowGET /projects/{project_id}/keys/{id}Get a single key
KeysApikeyUpdatePATCH /projects/{project_id}/keys/{id}Update a key
KeysApikeysDeleteCollectionDELETE /projects/{project_id}/keysDelete collection of keys
KeysApikeysExcludePATCH /projects/{project_id}/keys/excludeExclude a locale on a collection of keys
KeysApikeysIncludePATCH /projects/{project_id}/keys/includeInclude a locale on a collection of keys
KeysApikeysListGET /projects/{project_id}/keysList keys
KeysApikeysSearchPOST /projects/{project_id}/keys/searchSearch keys
KeysApikeysTagPATCH /projects/{project_id}/keys/tagAdd tags to collection of keys
KeysApikeysUntagPATCH /projects/{project_id}/keys/untagRemove tags from collection of keys
KeysFigmaAttachmentsApifigmaAttachmentAttachToKeyPOST /projects/{project_id}/figma_attachments/{figma_attachment_id}/keysAttach the Figma attachment to a key
KeysFigmaAttachmentsApifigmaAttachmentDetachFromKeyDELETE /projects/{project_id}/figma_attachments/{figma_attachment_id}/keys/{id}Detach the Figma attachment from a key
LinkedKeysApikeyLinksBatchDestroyDELETE /projects/{project_id}/keys/{id}/key_linksBatch unlink child keys from a parent key
LinkedKeysApikeyLinksCreatePOST /projects/{project_id}/keys/{id}/key_linksLink child keys to a parent key
LinkedKeysApikeyLinksDestroyDELETE /projects/{project_id}/keys/{id}/key_links/{child_key_id}Unlink a child key from a parent key
LinkedKeysApikeyLinksIndexGET /projects/{project_id}/keys/{id}/key_linksList child keys of a parent key
LocaleDownloadsApilocaleDownloadCreatePOST /projects/{project_id}/locales/{locale_id}/downloadsInitiate async download of a locale
LocaleDownloadsApilocaleDownloadShowGET /projects/{project_id}/locales/{locale_id}/downloads/{id}Show status of an async locale download
LocalesApiaccountLocalesGET /accounts/{id}/localesList locales used in account
LocalesApilocaleCreatePOST /projects/{project_id}/localesCreate a locale
LocalesApilocaleDeleteDELETE /projects/{project_id}/locales/{id}Delete a locale
LocalesApilocaleDownloadGET /projects/{project_id}/locales/{id}/downloadDownload a locale
LocalesApilocaleShowGET /projects/{project_id}/locales/{id}Get a single locale
LocalesApilocaleUpdatePATCH /projects/{project_id}/locales/{id}Update a locale
LocalesApilocalesListGET /projects/{project_id}/localesList locales
MembersApimemberDeleteDELETE /accounts/{account_id}/members/{id}Remove a user from the account
MembersApimemberShowGET /accounts/{account_id}/members/{id}Get single member
MembersApimemberUpdatePATCH /accounts/{account_id}/members/{id}Update a member
MembersApimemberUpdateSettingsPATCH /projects/{project_id}/members/{id}Update a member's project settings
MembersApimembersListGET /accounts/{account_id}/membersList members
NotificationGroupsApinotificationGroupsListGET /notification_groupsList notification groups
NotificationGroupsApinotificationGroupsMarkAllAsReadPATCH /notification_groups/mark_all_as_readMark all notification groups as read
NotificationGroupsApinotificationGroupsMarkAsReadPATCH /notification_groups/{id}/mark_as_readMark a notification group as read
NotificationsApinotificationsListGET /notificationsList notifications
NotificationsApinotificationsMarkAllAsReadPOST /notifications/mark_all_as_readMark all notifications as read
NotificationsApinotificationsShowGET /notifications/{id}Get a single notification
OrdersApiorderConfirmPATCH /projects/{project_id}/orders/{id}/confirmConfirm an order
OrdersApiorderCreatePOST /projects/{project_id}/ordersCreate a new order
OrdersApiorderDeleteDELETE /projects/{project_id}/orders/{id}Cancel an order
OrdersApiorderShowGET /projects/{project_id}/orders/{id}Get a single order
OrdersApiordersListGET /projects/{project_id}/ordersList orders
OrganizationJobTemplateLocalesApiorganizationJobTemplateLocaleDeleteDELETE /accounts/{account_id}/job_templates/{job_template_id}/locales/{job_template_locale_id}Delete an organization job template locale
OrganizationJobTemplateLocalesApiorganizationJobTemplateLocaleShowGET /accounts/{account_id}/job_templates/{job_template_id}/locales/{job_template_locale_id}Get a single organization job template locale
OrganizationJobTemplateLocalesApiorganizationJobTemplateLocaleUpdatePATCH /accounts/{account_id}/job_templates/{job_template_id}/locales/{job_template_locale_id}Update an organization job template locale
OrganizationJobTemplateLocalesApiorganizationJobTemplateLocalesCreatePOST /accounts/{account_id}/job_templates/{job_template_id}/localesCreate an organization job template locale
OrganizationJobTemplateLocalesApiorganizationJobTemplateLocalesListGET /accounts/{account_id}/job_templates/{job_template_id}/localesList organization job template locales
OrganizationJobTemplatesApiorganizationJobTemplateCreatePOST /accounts/{account_id}/job_templatesCreate an organization job template
OrganizationJobTemplatesApiorganizationJobTemplateDeleteDELETE /accounts/{account_id}/job_templates/{id}Delete an organization job template
OrganizationJobTemplatesApiorganizationJobTemplateUpdatePATCH /accounts/{account_id}/job_templates/{id}Update an organization job template
OrganizationJobTemplatesApiorganizationJobTemplatesListGET /accounts/{account_id}/job_templatesList organization job templates
OrganizationJobTemplatesApiorganizationJobTemplatesShowGET /accounts/{account_id}/job_templates/{id}Get a single organization job template
PreTranslationsApipreTranslationCreatePOST /projects/{project_id}/pre_translationsCreate a pre-translation job
PreTranslationsApipreTranslationShowGET /projects/{project_id}/pre_translations/{id}Get a single pre-translation job
PreTranslationsApipreTranslationsListGET /projects/{project_id}/pre_translationsList pre-translation jobs
ProjectsApiprojectCreatePOST /projectsCreate a project
ProjectsApiprojectDeleteDELETE /projects/{id}Delete a project
ProjectsApiprojectShowGET /projects/{id}Get a single project
ProjectsApiprojectUpdatePATCH /projects/{id}Update a project
ProjectsApiprojectsListGET /projectsList projects
QualityPerformanceScoreApiqualityPerformanceScoreListPOST /projects/{project_id}/quality_performance_scoreGet Translation Quality
ReleaseTriggersApireleaseTriggersCreatePOST /accounts/{account_id}/distributions/{distribution_id}/release_triggersCreate a release trigger
ReleaseTriggersApireleaseTriggersDestroyDELETE /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id}Delete a single release trigger
ReleaseTriggersApireleaseTriggersListGET /accounts/{account_id}/distributions/{distribution_id}/release_triggersList release triggers
ReleaseTriggersApireleaseTriggersShowGET /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id}Get a single release trigger
ReleaseTriggersApireleaseTriggersUpdatePATCH /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id}Update a release trigger
ReleasesApireleaseCreatePOST /accounts/{account_id}/distributions/{distribution_id}/releasesCreate a release
ReleasesApireleaseDeleteDELETE /accounts/{account_id}/distributions/{distribution_id}/releases/{id}Delete a release
ReleasesApireleasePublishPOST /accounts/{account_id}/distributions/{distribution_id}/releases/{id}/publishPublish a release
ReleasesApireleaseShowGET /accounts/{account_id}/distributions/{distribution_id}/releases/{id}Get a single release
ReleasesApireleaseUpdatePATCH /accounts/{account_id}/distributions/{distribution_id}/releases/{id}Update a release
ReleasesApireleasesListGET /accounts/{account_id}/distributions/{distribution_id}/releasesList releases
RepoSyncEventsApirepoSyncEventListGET /accounts/{account_id}/repo_syncs/{id}/eventsRepository Syncs History
RepoSyncEventsApirepoSyncEventShowGET /accounts/{account_id}/repo_syncs/{repo_sync_id}/events/{id}Get a single Repo Sync Event
RepoSyncsApirepoSyncActivatePOST /accounts/{account_id}/repo_syncs/{id}/activateActivate a Repo Sync
RepoSyncsApirepoSyncCreatePOST /accounts/{account_id}/repo_syncsCreate a Repo Sync
RepoSyncsApirepoSyncDeactivatePOST /accounts/{account_id}/repo_syncs/{id}/deactivateDeactivate a Repo Sync
RepoSyncsApirepoSyncExportPOST /accounts/{account_id}/repo_syncs/{id}/exportExport to code repository
RepoSyncsApirepoSyncImportPOST /accounts/{account_id}/repo_syncs/{id}/importImport from code repository
RepoSyncsApirepoSyncListGET /accounts/{account_id}/repo_syncsGet Repo Syncs
RepoSyncsApirepoSyncShowGET /accounts/{account_id}/repo_syncs/{id}Get a single Repo Sync
ReportsApireportLocalesListGET /projects/{project_id}/report/localesList Locale Reports
ReportsApireportShowGET /projects/{project_id}/reportGet Project Report
ScreenshotMarkersApiscreenshotMarkerCreatePOST /projects/{project_id}/screenshots/{screenshot_id}/markersCreate a screenshot marker
ScreenshotMarkersApiscreenshotMarkerDeleteDELETE /projects/{project_id}/screenshots/{screenshot_id}/markersDelete a screenshot marker
ScreenshotMarkersApiscreenshotMarkerShowGET /projects/{project_id}/screenshots/{screenshot_id}/markers/{id}Get a single screenshot marker
ScreenshotMarkersApiscreenshotMarkerUpdatePATCH /projects/{project_id}/screenshots/{screenshot_id}/markersUpdate a screenshot marker
ScreenshotMarkersApiscreenshotMarkersListGET /projects/{project_id}/screenshots/{id}/markersList screenshot markers
ScreenshotsApiscreenshotCreatePOST /projects/{project_id}/screenshotsCreate a screenshot
ScreenshotsApiscreenshotDeleteDELETE /projects/{project_id}/screenshots/{id}Delete a screenshot
ScreenshotsApiscreenshotShowGET /projects/{project_id}/screenshots/{id}Get a single screenshot
ScreenshotsApiscreenshotUpdatePATCH /projects/{project_id}/screenshots/{id}Update a screenshot
ScreenshotsApiscreenshotsListGET /projects/{project_id}/screenshotsList screenshots
SearchApisearchInAccountPOST /accounts/{account_id}/searchSearch across projects
SpacesApispaceCreatePOST /accounts/{account_id}/spacesCreate a Space
SpacesApispaceDeleteDELETE /accounts/{account_id}/spaces/{id}Delete Space
SpacesApispaceShowGET /accounts/{account_id}/spaces/{id}Get Space
SpacesApispaceUpdatePATCH /accounts/{account_id}/spaces/{id}Update Space
SpacesApispacesListGET /accounts/{account_id}/spacesList Spaces
SpacesApispacesProjectsCreatePOST /accounts/{account_id}/spaces/{space_id}/projectsAdd Project to Space
SpacesApispacesProjectsDeleteDELETE /accounts/{account_id}/spaces/{space_id}/projects/{id}Remove Project from Space
SpacesApispacesProjectsListGET /accounts/{account_id}/spaces/{space_id}/projectsList Projects in Space
StyleGuidesApistyleguideCreatePOST /projects/{project_id}/styleguidesCreate a style guide
StyleGuidesApistyleguideDeleteDELETE /projects/{project_id}/styleguides/{id}Delete a style guide
StyleGuidesApistyleguideShowGET /projects/{project_id}/styleguides/{id}Get a single style guide
StyleGuidesApistyleguideUpdatePATCH /projects/{project_id}/styleguides/{id}Update a style guide
StyleGuidesApistyleguidesListGET /projects/{project_id}/styleguidesList style guides
TagsApitagCreatePOST /projects/{project_id}/tagsCreate a tag
TagsApitagDeleteDELETE /projects/{project_id}/tags/{name}Delete a tag
TagsApitagShowGET /projects/{project_id}/tags/{name}Get a single tag
TagsApitagsListGET /projects/{project_id}/tagsList tags
TeamsApiteamCreatePOST /accounts/{account_id}/teamsCreate a Team
TeamsApiteamDeleteDELETE /accounts/{account_id}/teams/{id}Delete Team
TeamsApiteamShowGET /accounts/{account_id}/teams/{id}Get Team
TeamsApiteamUpdatePATCH /accounts/{account_id}/teams/{id}Update Team
TeamsApiteamsListGET /accounts/{account_id}/teamsList Teams
TeamsApiteamsProjectsCreatePOST /accounts/{account_id}/teams/{team_id}/projectsAdd Project to Team
TeamsApiteamsProjectsDeleteDELETE /accounts/{account_id}/teams/{team_id}/projects/{id}Remove Project from Team
TeamsApiteamsSpacesCreatePOST /accounts/{account_id}/teams/{team_id}/spacesAdd Space
TeamsApiteamsSpacesDeleteDELETE /accounts/{account_id}/teams/{team_id}/spaces/{id}Remove Space
TeamsApiteamsUsersCreatePOST /accounts/{account_id}/teams/{team_id}/usersAdd User
TeamsApiteamsUsersDeleteDELETE /accounts/{account_id}/teams/{team_id}/users/{id}Remove User
TranslationsApitranslationCreatePOST /projects/{project_id}/translationsCreate a translation
TranslationsApitranslationExcludePATCH /projects/{project_id}/translations/{id}/excludeExclude a translation from export
TranslationsApitranslationIncludePATCH /projects/{project_id}/translations/{id}/includeInclude a translation
TranslationsApitranslationReviewPATCH /projects/{project_id}/translations/{id}/reviewReview a translation
TranslationsApitranslationShowGET /projects/{project_id}/translations/{id}Get a single translation
TranslationsApitranslationUnreviewPATCH /projects/{project_id}/translations/{id}/unreviewUnreview a translation
TranslationsApitranslationUnverifyPATCH /projects/{project_id}/translations/{id}/unverifyMark a translation as unverified
TranslationsApitranslationUpdatePATCH /projects/{project_id}/translations/{id}Update a translation
TranslationsApitranslationVerifyPATCH /projects/{project_id}/translations/{id}/verifyVerify a translation
TranslationsApitranslationsByKeyGET /projects/{project_id}/keys/{key_id}/translationsList translations by key
TranslationsApitranslationsByLocaleGET /projects/{project_id}/locales/{locale_id}/translationsList translations by locale
TranslationsApitranslationsExcludeCollectionPATCH /projects/{project_id}/translations/excludeExclude translations by query
TranslationsApitranslationsIncludeCollectionPATCH /projects/{project_id}/translations/includeInclude translations by query
TranslationsApitranslationsListGET /projects/{project_id}/translationsList all translations
TranslationsApitranslationsReviewCollectionPATCH /projects/{project_id}/translations/reviewReview translations selected by query
TranslationsApitranslationsSearchPOST /projects/{project_id}/translations/searchSearch translations
TranslationsApitranslationsUnreviewCollectionPATCH /projects/{project_id}/translations/unreviewUnreview translations selected by query
TranslationsApitranslationsUnverifyCollectionPATCH /projects/{project_id}/translations/unverifyUnverify translations by query
TranslationsApitranslationsVerifyCollectionPATCH /projects/{project_id}/translations/verifyVerify translations by query
UploadBatchesApiuploadBatchesCreatePOST /projects/{project_id}/upload_batchesCreate upload batch
UploadsApiuploadCreatePOST /projects/{project_id}/uploadsUpload a new file
UploadsApiuploadShowGET /projects/{project_id}/uploads/{id}Get a single upload
UploadsApiuploadsListGET /projects/{project_id}/uploadsList uploads
UsersApishowUserGET /userShow current User
VariablesApivariableCreatePOST /projects/{project_id}/variablesCreate a variable
VariablesApivariableDeleteDELETE /projects/{project_id}/variables/{name}Delete a variable
VariablesApivariableShowGET /projects/{project_id}/variables/{name}Get a single variable
VariablesApivariableUpdatePATCH /projects/{project_id}/variables/{name}Update a variable
VariablesApivariablesListGET /projects/{project_id}/variablesList variables
VersionsHistoryApiversionShowGET /projects/{project_id}/translations/{translation_id}/versions/{id}Get a single version
VersionsHistoryApiversionsListGET /projects/{project_id}/translations/{translation_id}/versionsList all versions
WebhookDeliveriesApiwebhookDeliveriesListGET /projects/{project_id}/webhooks/{webhook_id}/deliveriesList webhook deliveries
WebhookDeliveriesApiwebhookDeliveriesRedeliverPOST /projects/{project_id}/webhooks/{webhook_id}/deliveries/{id}/redeliverRedeliver a single webhook delivery
WebhookDeliveriesApiwebhookDeliveriesShowGET /projects/{project_id}/webhooks/{webhook_id}/deliveries/{id}Get a single webhook delivery
WebhooksApiwebhookCreatePOST /projects/{project_id}/webhooksCreate a webhook
WebhooksApiwebhookDeleteDELETE /projects/{project_id}/webhooks/{id}Delete a webhook
WebhooksApiwebhookShowGET /projects/{project_id}/webhooks/{id}Get a single webhook
WebhooksApiwebhookTestPOST /projects/{project_id}/webhooks/{id}/testTest a webhook
WebhooksApiwebhookUpdatePATCH /projects/{project_id}/webhooks/{id}Update a webhook
WebhooksApiwebhooksListGET /projects/{project_id}/webhooksList webhooks

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

Token

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Basic

  • Type: HTTP basic authentication

Recommendation

It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.

Author

support@phrase.com

Get help / support

Please contact support@phrase.com and we can take more direct action toward finding a solution.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

15 watching

Forks

Releases

Packages

Used by

Contributors

Languages