diff --git a/doc/compiled.json b/doc/compiled.json index a42ee4f30..8370e0798 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -4337,7 +4337,7 @@ "id": { "type": "string" }, - "event_type": { + "type": { "type": "string", "enum": [ "import", @@ -4380,7 +4380,7 @@ } }, "example": { - "event_type": "import", + "type": "import", "created_at": "2015-01-28T09:52:53Z", "status": "failure", "auto_import": true, @@ -21739,7 +21739,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync list \\\n--account_id abcd1234 \\\n--access_token " + "source": "phrase repo_syncs list \\\n--account_id abcd1234 \\\n--access_token " } ], "x-cli-version": "2.24" @@ -21803,7 +21803,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync show \\\n--id \\\n--account_id abcd1234 \\\n--access_token " + "source": "phrase repo_syncs show \\\n--id \\\n--account_id abcd1234 \\\n--access_token " } ], "x-cli-version": "2.24" @@ -21867,7 +21867,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync export \\\n--id \\\n--access_token " + "source": "phrase repo_syncs export \\\n--id \\\n--access_token " } ], "x-cli-version": "2.24" @@ -21931,7 +21931,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync import \\\n--id \\\n--access_token " + "source": "phrase repo_syncs import \\\n--id \\\n--access_token " } ], "x-cli-version": "2.24" @@ -22004,7 +22004,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync events \\\n--id \\\n--account_id abcd1234 \\\n--access_token " + "source": "phrase repo_syncs events \\\n--id \\\n--account_id abcd1234 \\\n--access_token " } ], "x-cli-version": "2.24" @@ -22014,7 +22014,7 @@ "get": { "summary": "Get a single Repo Sync Event", "description": "Shows a single Repo Sync event.", - "operationId": "repo_sync_event/show", + "operationId": "repo_sync/events_show", "tags": [ "Repo Syncs" ], @@ -22071,7 +22071,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync_event show \\\n--id \\\n--repo_sync_id \\\n--account_id abcd1234 \\\n--access_token " + "source": "phrase repo_syncs show \\\n--id \\\n--repo_sync_id \\\n--account_id abcd1234 \\\n--access_token " } ], "x-cli-version": "2.24" @@ -22135,7 +22135,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync deactivate \\\n--id \\\n--access_token " + "source": "phrase repo_syncs deactivate \\\n--id \\\n--access_token " } ], "x-cli-version": "2.24" @@ -22199,7 +22199,7 @@ }, { "lang": "CLI v2", - "source": "phrase repo_sync activate \\\n--id \\\n--access_token " + "source": "phrase repo_syncs activate \\\n--id \\\n--access_token " } ], "x-cli-version": "2.24" diff --git a/paths/repo_sync_events/index.yaml b/paths/repo_sync_events/index.yaml index d538efd96..b80c510bf 100644 --- a/paths/repo_sync_events/index.yaml +++ b/paths/repo_sync_events/index.yaml @@ -42,7 +42,7 @@ x-code-samples: -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase repo_sync events \ + phrase repo_syncs events \ --id \ --account_id abcd1234 \ --access_token diff --git a/paths/repo_sync_events/show.yaml b/paths/repo_sync_events/show.yaml index 7f7d6af67..cc574528e 100644 --- a/paths/repo_sync_events/show.yaml +++ b/paths/repo_sync_events/show.yaml @@ -1,7 +1,7 @@ --- summary: Get a single Repo Sync Event description: Shows a single Repo Sync event. -operationId: repo_sync_event/show +operationId: repo_sync/events_show tags: - Repo Syncs parameters: @@ -36,7 +36,7 @@ x-code-samples: -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase repo_sync_event show \ + phrase repo_syncs events_show \ --id \ --repo_sync_id \ --account_id abcd1234 \ diff --git a/paths/repo_syncs/activate.yaml b/paths/repo_syncs/activate.yaml index ca62d5b47..0a11cacfa 100644 --- a/paths/repo_syncs/activate.yaml +++ b/paths/repo_syncs/activate.yaml @@ -39,7 +39,7 @@ x-code-samples: -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase repo_sync activate \ + phrase repo_syncs activate \ --id \ --access_token x-cli-version: '2.24' diff --git a/paths/repo_syncs/deactivate.yaml b/paths/repo_syncs/deactivate.yaml index 560833f93..e4c71e9bb 100644 --- a/paths/repo_syncs/deactivate.yaml +++ b/paths/repo_syncs/deactivate.yaml @@ -39,7 +39,7 @@ x-code-samples: -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase repo_sync deactivate \ + phrase repo_syncs deactivate \ --id \ --access_token x-cli-version: '2.24' diff --git a/paths/repo_syncs/export.yaml b/paths/repo_syncs/export.yaml index 84ef8b567..18be769c6 100644 --- a/paths/repo_syncs/export.yaml +++ b/paths/repo_syncs/export.yaml @@ -41,7 +41,7 @@ x-code-samples: -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase repo_sync export \ + phrase repo_syncs export \ --id \ --access_token x-cli-version: '2.24' diff --git a/paths/repo_syncs/import.yaml b/paths/repo_syncs/import.yaml index cc0a4a1e4..ae6a44001 100644 --- a/paths/repo_syncs/import.yaml +++ b/paths/repo_syncs/import.yaml @@ -41,7 +41,7 @@ x-code-samples: -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase repo_sync import \ + phrase repo_syncs import \ --id \ --access_token x-cli-version: '2.24' diff --git a/paths/repo_syncs/index.yaml b/paths/repo_syncs/index.yaml index 63d2f4136..286d7cd5e 100644 --- a/paths/repo_syncs/index.yaml +++ b/paths/repo_syncs/index.yaml @@ -40,7 +40,7 @@ x-code-samples: -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase repo_sync list \ + phrase repo_syncs list \ --account_id abcd1234 \ --access_token x-cli-version: '2.24' diff --git a/paths/repo_syncs/show.yaml b/paths/repo_syncs/show.yaml index 2d280d2f5..a3b2487ba 100644 --- a/paths/repo_syncs/show.yaml +++ b/paths/repo_syncs/show.yaml @@ -35,7 +35,7 @@ x-code-samples: -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase repo_sync show \ + phrase repo_syncs show \ --id \ --account_id abcd1234 \ --access_token diff --git a/schemas/repo_sync_event.yaml b/schemas/repo_sync_event.yaml index ed96c955f..e50a124d0 100644 --- a/schemas/repo_sync_event.yaml +++ b/schemas/repo_sync_event.yaml @@ -5,7 +5,7 @@ repo_sync_event: properties: id: type: string - event_type: + type: type: string enum: [import, export] created_at: @@ -28,7 +28,7 @@ repo_sync_event: - type: string - type: object example: - event_type: import + type: import created_at: '2015-01-28T09:52:53Z' status: failure auto_import: true