Skip to content

Commit 47d0ab1

Browse files
committed
fix: update index.model.mdx
1 parent 1e226a1 commit 47d0ab1

12 files changed

+256
-18
lines changed

content/docs/api-reference/meta.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"...subscribers/bulk-create-subscribers",
2323
"...subscribers/retrieve-subscriber-preferences",
2424
"...subscribers/update-subscriber-preferences",
25+
"...subscribers/bulk-update-subscriber-preferences",
2526
"...subscribers/update-provider-credentials",
2627
"...subscribers/upsert-provider-credentials",
2728
"...subscribers/delete-provider-credentials",
@@ -59,6 +60,15 @@
5960
"...workflows/sync-a-workflow",
6061
"...workflows/retrieve-workflow-step",
6162

63+
"---Translations---",
64+
"...translations/create-a-translation",
65+
"...translations/retrieve-a-translation",
66+
"...translations/delete-a-translation",
67+
"...translations/retrieve-a-translation-group",
68+
"...translations/delete-a-translation-group",
69+
"...translations/import-master-translations-json",
70+
"...translations/retrieve-master-translations-json",
71+
6272
"---Environments---",
6373
"...environments/environment-schema",
6474
"...environments/create-an-environment",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Create a translation
3+
full: true
4+
_openapi:
5+
method: POST
6+
route: /v2/translations
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: >-
12+
Create a translation for a specific workflow and locale, if the
13+
translation already exists, it will be updated
14+
---
15+
16+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
17+
18+
Create a translation for a specific workflow and locale, if the translation already exists, it will be updated
19+
20+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations","method":"post"}]} webhooks={[]} hasHead={false} />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Delete a translation group
3+
full: true
4+
_openapi:
5+
method: DELETE
6+
route: /v2/translations/{resourceType}/{resourceId}
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: Delete an entire translation group and all its translations
12+
---
13+
14+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
15+
16+
Delete an entire translation group and all its translations
17+
18+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/{resourceType}/{resourceId}","method":"delete"}]} webhooks={[]} hasHead={false} />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Delete a translation
3+
full: true
4+
_openapi:
5+
method: DELETE
6+
route: /v2/translations/{resourceType}/{resourceId}/{locale}
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: Delete a specific translation by resource type, resource ID and locale
12+
---
13+
14+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
15+
16+
Delete a specific translation by resource type, resource ID and locale
17+
18+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/{resourceType}/{resourceId}/{locale}","method":"delete"}]} webhooks={[]} hasHead={false} />
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Import master translations JSON
3+
full: true
4+
_openapi:
5+
method: POST
6+
route: /v2/translations/master-json
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: >-
12+
Import translations for multiple workflows from master JSON format for
13+
a specific locale
14+
---
15+
16+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
17+
18+
Import translations for multiple workflows from master JSON format for a specific locale
19+
20+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/master-json","method":"post"}]} webhooks={[]} hasHead={false} />
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Retrieve a translation group
3+
full: true
4+
_openapi:
5+
method: GET
6+
route: /v2/translations/group/{resourceType}/{resourceId}
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: >-
12+
Retrieves a single translation group by resource type (workflow) and
13+
resource ID (workflowId)
14+
---
15+
16+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
17+
18+
Retrieves a single translation group by resource type (workflow) and resource ID (workflowId)
19+
20+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/group/{resourceType}/{resourceId}","method":"get"}]} webhooks={[]} hasHead={false} />
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Retrieve a translation
3+
full: true
4+
_openapi:
5+
method: GET
6+
route: /v2/translations/{resourceType}/{resourceId}/{locale}
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: >-
12+
Retrieve a specific translation by resource type, resource ID and
13+
locale
14+
---
15+
16+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
17+
18+
Retrieve a specific translation by resource type, resource ID and locale
19+
20+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/{resourceType}/{resourceId}/{locale}","method":"get"}]} webhooks={[]} hasHead={false} />
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Retrieve master translations JSON
3+
full: true
4+
_openapi:
5+
method: GET
6+
route: /v2/translations/master-json
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: >-
12+
Retrieve all translations for a locale in master JSON format organized
13+
by resourceId (workflowId)
14+
---
15+
16+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
17+
18+
Retrieve all translations for a locale in master JSON format organized by resourceId (workflowId)
19+
20+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/master-json","method":"get"}]} webhooks={[]} hasHead={false} />
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Upload master translations JSON file
3+
full: true
4+
_openapi:
5+
method: POST
6+
route: /v2/translations/master-json/upload
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: >-
12+
Upload a master JSON file containing translations for multiple
13+
workflows. Locale is automatically detected from filename (e.g.,
14+
en_US.json)
15+
---
16+
17+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
18+
19+
Upload a master JSON file containing translations for multiple workflows. Locale is automatically detected from filename (e.g., en_US.json)
20+
21+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/master-json/upload","method":"post"}]} webhooks={[]} hasHead={false} />
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Upload translation files
3+
full: true
4+
_openapi:
5+
method: POST
6+
route: /v2/translations/upload
7+
toc: []
8+
structuredData:
9+
headings: []
10+
contents:
11+
- content: >-
12+
Upload one or more JSON translation files for a specific workflow.
13+
Files name must match the locale, e.g. en_US.json
14+
---
15+
16+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
17+
18+
Upload one or more JSON translation files for a specific workflow. Files name must match the locale, e.g. en_US.json
19+
20+
<APIPage document={"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"} operations={[{"path":"/v2/translations/upload","method":"post"}]} webhooks={[]} hasHead={false} />

0 commit comments

Comments
 (0)