Closed boonebgorges closed 12 years ago
From https://github.com/Pita/etherpad-lite/wiki/HTTP-API:
Portal maps the internal userid to an etherpad author. Request: http://pad.domain/api/1/createAuthorIfNotExistsFor?apikey=secret&name=Michael&authorMapper=7 Response: {code: 0, message:"ok", data: {authorID: "a.s8oes9dhwrvt0zif"}} Portal maps the internal userid to an etherpad group: Request: http://pad.domain/api/1/createGroupIfNotExistsFor?apikey=secret&groupMapper=7 Response: {code: 0, message:"ok", data: {groupID: "g.s8oes9dhwrvt0zif"}}
From https://github.com/Pita/etherpad-lite/wiki/HTTP-API: