breslavsky commited on
Commit
e463428
·
1 Parent(s): e5a98b5

fix: deploy pipelines domain

Browse files
docs/deploy-pipelines/call-via-api.md CHANGED
@@ -15,7 +15,7 @@ If you've deployed Piper on your own server, replace **piper.my** with your doma
15
  ## Run pipeline
16
 
17
  ```bash
18
- curl --location --request POST 'https://piper.my/api/pipeline-slug/launch' \
19
  --header 'content-type: application/json' \
20
  --header 'api-token: [YOUR_API_KEY_HERE]' \
21
  --data '{
@@ -54,7 +54,7 @@ There are two ways to send images and other media like videos or audio:
54
  #### JSON Base64
55
 
56
  ```bash
57
- curl --location --request POST 'https://piper.my/api/pipeline-slug/launch' \
58
  --header 'content-type: application/json' \
59
  --header 'api-token: [YOUR_API_KEY_HERE]' \
60
  --data '{
@@ -76,7 +76,7 @@ For large media files, please upload them as artifacts.
76
  Piper has its own temporary storage for handling large media files.
77
 
78
  ```bash
79
- curl --location --request POST 'https://piper.my/api/artefacts' \
80
  --header 'api-token: [YOUR_API_KEY_HERE]' \
81
  -F "file=@/path/to/your/file.jpg"
82
  ```
@@ -92,7 +92,7 @@ Your file will be deleted automatically after ~48 hours.
92
  ## Pipeline status
93
 
94
  ```bash
95
- curl --location --request GET 'https://piper.my/api/launches/[LAUNCH_ID]/state' \
96
  --header 'api-token: [YOUR_API_KEY_HERE]'
97
  ```
98
 
 
15
  ## Run pipeline
16
 
17
  ```bash
18
+ curl --location --request POST 'https://app.piper.my/api/pipeline-slug/launch' \
19
  --header 'content-type: application/json' \
20
  --header 'api-token: [YOUR_API_KEY_HERE]' \
21
  --data '{
 
54
  #### JSON Base64
55
 
56
  ```bash
57
+ curl --location --request POST 'https://app.piper.my/api/pipeline-slug/launch' \
58
  --header 'content-type: application/json' \
59
  --header 'api-token: [YOUR_API_KEY_HERE]' \
60
  --data '{
 
76
  Piper has its own temporary storage for handling large media files.
77
 
78
  ```bash
79
+ curl --location --request POST 'https://app.piper.my/api/artefacts' \
80
  --header 'api-token: [YOUR_API_KEY_HERE]' \
81
  -F "file=@/path/to/your/file.jpg"
82
  ```
 
92
  ## Pipeline status
93
 
94
  ```bash
95
+ curl --location --request GET 'https://app.piper.my/api/launches/[LAUNCH_ID]/state' \
96
  --header 'api-token: [YOUR_API_KEY_HERE]'
97
  ```
98
 
i18n/ru/docusaurus-plugin-content-docs/current/deploy-pipelines/call-via-api.md CHANGED
@@ -15,7 +15,7 @@ sidebar_position: 1
15
  ## Запустить конвейер
16
 
17
  ```bash
18
- curl --location --request POST 'https://piper.my/api/pipeline-slug/launch' \
19
  --header 'content-type: application/json' \
20
  --header 'api-token: [YOUR_API_KEY_HERE]' \
21
  --data '{
@@ -54,7 +54,7 @@ curl --location --request POST 'https://piper.my/api/pipeline-slug/launch' \
54
  #### JSON Base64
55
 
56
  ```bash
57
- curl --location --request POST 'https://piper.my/api/pipeline-slug/launch' \
58
  --header 'content-type: application/json' \
59
  --header 'api-token: [YOUR_API_KEY_HERE]' \
60
  --data '{
@@ -76,7 +76,7 @@ curl --location --request POST 'https://piper.my/api/pipeline-slug/launch' \
76
  Piper имеет собственное временное хранилище для обработки больших медиафайлов.
77
 
78
  ```bash
79
- curl --location --request POST 'https://piper.my/api/artefacts' \
80
  --header 'api-token: [YOUR_API_KEY_HERE]' \
81
  -F "file=@/path/to/your/file.jpg"
82
  ```
@@ -92,7 +92,7 @@ curl --location --request POST 'https://piper.my/api/artefacts' \
92
  ## Статус конвейера
93
 
94
  ```bash
95
- curl --location --request GET 'https://piper.my/api/launches/[LAUNCH_ID]/state' \
96
  --header 'api-token: [YOUR_API_KEY_HERE]'
97
  ```
98
 
 
15
  ## Запустить конвейер
16
 
17
  ```bash
18
+ curl --location --request POST 'https://app.piper.my/api/pipeline-slug/launch' \
19
  --header 'content-type: application/json' \
20
  --header 'api-token: [YOUR_API_KEY_HERE]' \
21
  --data '{
 
54
  #### JSON Base64
55
 
56
  ```bash
57
+ curl --location --request POST 'https://app.piper.my/api/pipeline-slug/launch' \
58
  --header 'content-type: application/json' \
59
  --header 'api-token: [YOUR_API_KEY_HERE]' \
60
  --data '{
 
76
  Piper имеет собственное временное хранилище для обработки больших медиафайлов.
77
 
78
  ```bash
79
+ curl --location --request POST 'https://app.piper.my/api/artefacts' \
80
  --header 'api-token: [YOUR_API_KEY_HERE]' \
81
  -F "file=@/path/to/your/file.jpg"
82
  ```
 
92
  ## Статус конвейера
93
 
94
  ```bash
95
+ curl --location --request GET 'https://app.piper.my/api/launches/[LAUNCH_ID]/state' \
96
  --header 'api-token: [YOUR_API_KEY_HERE]'
97
  ```
98