1.23. Metadata Synchronization

This section explains the Metadata Synchronization API available starting 2.24

Table 1.28. Query parameters

Name

Required

Description

versionName

true

versionName query parameter of the form "Version_<id>" . The api downloads this version from the remote server and imports it in the local system.


1.23.1. Sync metadata version

Example: Sync Version_6 from central system to this system

Sample request:

curl -u admin:district "https://play.dhis2.org/dev/api/metadata/sync?versionName=Version_6"