[deepamehta-devel] REST API JSON export and re-import
Jörg Richter
jri at deepamehta.de
Sat Nov 25 23:43:17 CET 2017
Hi Jürgen,
in your particular case you can achieve the export/import with these 4 requests:
At source instance:
1) GET the ID of the sign-up config topic by querying it by-uri. Its URI is well-known.
2) GET the config data by querying the sign-up config topic by-ID, including its child topics.
At target instance:
3) GET the ID of the sign-up config topic by querying it by-uri. Its URI is well-known.
4) PUT the received data (step 2) as-is to the config topic by-ID (as received in step 3).
Tell me if you need more details.
Cheers,
Jörg
> On 18 Nov 2017, at 15:03, Juergen Neumann <j.neumann at junes.eu> wrote:
>
> Hi devs!
>
> I am wondering how to easy export and re-import data from one DM
> instance to another. In my case as admin I want to save the data of the
> sign-up configuration of one instance and then write it to a new
> instance of DM via the REST API.
>
> Any ideas?
>
> Thx,
>
> Juergen
>
> --
> GnuPG KeyID: CD914C6C
> Fingerprint: C1CC EF1D 1443 7279 72E7 ABDC A2DA 0328 CD91 4C6C
>
> --
> devel mailing list
> devel at lists.deepamehta.de
> http://lists.deepamehta.de/mailman/listinfo/devel-lists.deepamehta.de
-------------- n�chster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigr��e : 488 bytes
Beschreibung: Message signed with OpenPGP using GPGMail
URL : <http://lists.deepamehta.de/pipermail/devel-lists.deepamehta.de/attachments/20171125/aec55453/attachment.sig>
More information about the devel
mailing list