-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: autopublish 2024-11-23T19:45:27Z
- Loading branch information
1 parent
9745360
commit 1533bf6
Showing
289 changed files
with
74,366 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:23Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:23Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:23Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:26Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:30Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:24:30Z | ||
2024-11-23T19:45:27Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:20:08Z | ||
2024-11-23T19:44:31Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-11-22T21:20:09Z | ||
2024-11-23T19:44:32Z |
51 changes: 51 additions & 0 deletions
51
projects/docs-full-site/cs/DEVELOP__USING-THE-API__DHIS-CORE-VERSION-239__email-md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
edit_url: "https://github.com/dhis2/dhis2-docs/blob/2.39/src/developer/web-api/email.md" | ||
revision_date: '2021-06-14' | ||
tags: | ||
- Vývoj | ||
- DHIS základní verze 2.39 | ||
--- | ||
|
||
# E-mail { #email } | ||
|
||
## E-mail { #webapi_email } | ||
|
||
Webové rozhraní API obsahuje prostředek pro odesílání e-mailů. Pro odesílání e-mailů je nutné, aby byla správně nastavena konfigurace SMTP a byla definována e-mailová adresa pro upozornění systému pro instanci DHIS2. Nastavení SMTP můžete provést na obrazovce nastavení e-mailu a e-mailová adresa upozornění systému z obrazovky obecného nastavení v DHIS2. | ||
|
||
/api/33/email | ||
|
||
### Oznámení systému { #webapi_email_system_notification } | ||
|
||
Prostředek *oznámení* vám umožňuje odesílat systémová e-mailová oznámení s daným předmětem a textem v JSON nebo XML. E-mail bude odeslán na e-mailovou adresu s oznámením, jak je definováno v obecném nastavení systému DHIS2: | ||
|
||
```json | ||
{ | ||
"subject": "Integrity check summary", | ||
"text": "All checks ran successfully" | ||
} | ||
``` | ||
|
||
Systémové e-mailové oznámení můžete odeslat zveřejněním příspěvku do zdroje oznámení takto: | ||
|
||
```bash | ||
curl -d @email.json "localhost/api/33/email/notification" -X POST | ||
-H "Content-Type:application/json" -u admin:district | ||
``` | ||
|
||
### Odchozí e-maily { #outbound-emails } | ||
|
||
Můžete také poslat obecné e-mailové oznámení odesláním do zdroje oznámení, jak je uvedeno níže. Aby bylo možné použít tento API, musí být v systému oprávnění `F_SEND_EMAIL` nebo `ALL.` Parametr subjektu je volitelný. Řetězec „DHIS 2“ bude odeslán jako výchozí předmět, pokud není uveden v adrese URL. Adresa URL by měla být kódována, aby bylo možné používat toto API. | ||
|
||
```bash | ||
curl "localhost/api/33/email/notification?recipients=xyz%40abc.com&message=sample%20email&subject=Test%20Email" | ||
-X POST -u admin:district | ||
``` | ||
|
||
### Zkušební zpráva { #webapi_email_test_message } | ||
|
||
Chcete-li otestovat, zda je nastavení SMTP správné, zasláním testovacího e-mailu sami sobě, můžete komunikovat s prostředkem *test*. K odesílání testovacích e-mailů je nutné, aby měl váš uživatelský účet DHIS2 přidruženou platnou e-mailovou adresu. Můžete poslat zkušební e-mail takto: | ||
|
||
```bash | ||
curl "localhost/api/33/email/test" -X POST -H "Content-Type:application/json" -u admin:district | ||
``` | ||
|
30 changes: 30 additions & 0 deletions
30
projects/docs-full-site/cs/DEVELOP__USING-THE-API__DHIS-CORE-VERSION-239__synchronization-md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
edit_url: "https://github.com/dhis2/dhis2-docs/blob/2.39/src/developer/web-api/synchronization.md" | ||
revision_date: '2022-05-05' | ||
tags: | ||
- Vývoj | ||
- DHIS základní verze 2.39 | ||
--- | ||
|
||
# Synchronizace { #webapi_synchronization } | ||
|
||
Tato část pojednává o stahování a odesílání dat a metadat. | ||
|
||
## Push datové hodnoty { #webapi_sync_data_push } | ||
|
||
Chcete-li zahájit odeslání datové hodnoty na vzdálený server, musíte nejprve nakonfigurovat adresu URL a přihlašovací údaje pro příslušný server v části Nastavení systému > Synchronizace, poté provést požadavek POST na následující prostředek: | ||
|
||
/api/33/synchronization/dataPush | ||
|
||
## Stahování metadat { #webapi_sync_metadata_pull } | ||
|
||
Chcete-li zahájit načítání metadat ze vzdáleného dokumentu JSON, můžete provést požadavek POST s *url* jako datovou částí požadavku na následující prostředek: | ||
|
||
/api/33/synchronization/metadataPull | ||
|
||
## Kontrola dostupnosti { #webapi_sync_availability_check } | ||
|
||
Chcete-li zkontrolovat dostupnost vzdáleného datového serveru a ověřit pověření uživatele, můžete odeslat požadavek GET na následující prostředek: | ||
|
||
/api/33/synchronization/availability | ||
|
51 changes: 51 additions & 0 deletions
51
projects/docs-full-site/cs/DEVELOP__USING-THE-API__DHIS-CORE-VERSION-MASTER__email-md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
edit_url: "https://github.com/dhis2/dhis2-docs/blob/master/src/developer/web-api/email.md" | ||
revision_date: '2021-06-14' | ||
tags: | ||
- Vývoj | ||
- Hlavní verze jádra DHIS | ||
--- | ||
|
||
# E-mail { #email } | ||
|
||
## E-mail { #webapi_email } | ||
|
||
Webové rozhraní API obsahuje prostředek pro odesílání e-mailů. Pro odesílání e-mailů je nutné, aby byla správně nastavena konfigurace SMTP a byla definována e-mailová adresa pro upozornění systému pro instanci DHIS2. Nastavení SMTP můžete provést na obrazovce nastavení e-mailu a e-mailová adresa upozornění systému z obrazovky obecného nastavení v DHIS2. | ||
|
||
/api/33/email | ||
|
||
### Oznámení systému { #webapi_email_system_notification } | ||
|
||
Prostředek *oznámení* vám umožňuje odesílat systémová e-mailová oznámení s daným předmětem a textem v JSON nebo XML. E-mail bude odeslán na e-mailovou adresu s oznámením, jak je definováno v obecném nastavení systému DHIS2: | ||
|
||
```json | ||
{ | ||
"subject": "Integrity check summary", | ||
"text": "All checks ran successfully" | ||
} | ||
``` | ||
|
||
Systémové e-mailové oznámení můžete odeslat zveřejněním příspěvku do zdroje oznámení takto: | ||
|
||
```bash | ||
curl -d @email.json "localhost/api/33/email/notification" -X POST | ||
-H "Content-Type:application/json" -u admin:district | ||
``` | ||
|
||
### Odchozí e-maily { #outbound-emails } | ||
|
||
Můžete také poslat obecné e-mailové oznámení odesláním do zdroje oznámení, jak je uvedeno níže. Aby bylo možné použít tento API, musí být v systému oprávnění `F_SEND_EMAIL` nebo `ALL.` Parametr subjektu je volitelný. Řetězec „DHIS 2“ bude odeslán jako výchozí předmět, pokud není uveden v adrese URL. Adresa URL by měla být kódována, aby bylo možné používat toto API. | ||
|
||
```bash | ||
curl "localhost/api/33/email/notification?recipients=xyz%40abc.com&message=sample%20email&subject=Test%20Email" | ||
-X POST -u admin:district | ||
``` | ||
|
||
### Zkušební zpráva { #webapi_email_test_message } | ||
|
||
Chcete-li otestovat, zda je nastavení SMTP správné, zasláním testovacího e-mailu sami sobě, můžete komunikovat s prostředkem *test*. K odesílání testovacích e-mailů je nutné, aby měl váš uživatelský účet DHIS2 přidruženou platnou e-mailovou adresu. Můžete poslat zkušební e-mail takto: | ||
|
||
```bash | ||
curl "localhost/api/33/email/test" -X POST -H "Content-Type:application/json" -u admin:district | ||
``` | ||
|
Oops, something went wrong.