File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2285622856 "x-cli-version": "2.20"
2285722857 }
2285822858 },
22859- "/projects/{project_id}/repo_sync": {
22860- "get": {
22861- "summary": "Get Repo Sync for a Project",
22862- "description": "Returns the Repo Sync connected to a specific project, if any exists.",
22863- "operationId": "repo_sync/show_for_project",
22864- "tags": [
22865- "Repo Syncs"
22866- ],
22867- "parameters": [
22868- {
22869- "$ref": "#/components/parameters/X-PhraseApp-OTP"
22870- },
22871- {
22872- "$ref": "#/components/parameters/project_id"
22873- }
22874- ],
22875- "responses": {
22876- "200": {
22877- "description": "OK",
22878- "content": {
22879- "application/json": {
22880- "schema": {
22881- "$ref": "#/components/schemas/repo_sync"
22882- }
22883- }
22884- },
22885- "headers": {
22886- "X-Rate-Limit-Limit": {
22887- "$ref": "#/components/headers/X-Rate-Limit-Limit"
22888- },
22889- "X-Rate-Limit-Remaining": {
22890- "$ref": "#/components/headers/X-Rate-Limit-Remaining"
22891- },
22892- "X-Rate-Limit-Reset": {
22893- "$ref": "#/components/headers/X-Rate-Limit-Reset"
22894- }
22895- }
22896- },
22897- "400": {
22898- "$ref": "#/components/responses/400"
22899- },
22900- "404": {
22901- "$ref": "#/components/responses/404"
22902- },
22903- "429": {
22904- "$ref": "#/components/responses/429"
22905- }
22906- },
22907- "x-code-samples": [
22908- {
22909- "lang": "Curl",
22910- "source": "curl \"https://api.phrase.com/v2/projects/abcd1234abcd1234abcd1234abcd1234/repo_sync\"\\\n -u USERNAME_OR_ACCESS_TOKEN"
22911- },
22912- {
22913- "lang": "CLI v2",
22914- "source": "phrase repo_syncs show_for_project \\\n--project_id abcd1234abcd1234abcd1234abcd1234 \\\n--access_token <token>"
22915- }
22916- ],
22917- "x-cli-version": "2.60"
22918- }
22919- },
2292022859 "/accounts/{account_id}/repo_syncs": {
2292122860 "get": {
2292222861 "summary": "Get Repo Syncs",
Original file line number Diff line number Diff line change 517517" /projects/{project_id}/quality_performance_score " :
518518 post :
519519 " $ref " : " ./paths/quality_performance_score/index.yaml"
520- " /projects/{project_id}/repo_sync " :
521- get :
522- " $ref " : " ./paths/repo_syncs/show_for_project.yaml"
523520" /accounts/{account_id}/repo_syncs " :
524521 get :
525522 " $ref " : " ./paths/repo_syncs/index.yaml"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments