Differences between revisions 3 and 13 (spanning 10 versions)
Revision 3 as of 2008-09-12 22:02:00
Size: 492
Editor: kfc
Comment:
Revision 13 as of 2010-03-17 13:08:50
Size: 832
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

WSDL: attachment:pidgenerator.xml
Line 12: Line 10:


== PID API ==

WSDL: [[attachment:DomsPIDGenerator.xml]]

The following describes those methods of the PID API that may be called by the GUI.

==== generateNexAvailablePID ====
Generates a new PID.

Input parameters:
 * {{{String infix}}} The PID of the object.

Returns:
 * {{{String}}} The newly generated unique PID, possibly including the provided infix.

PID API

A webservice for generating a PID is provided.

The API is trivially simple: A call to the given method will give the next available API. Optionally, a string may be given that should be part of the PID.

The call should never fail.

Implementation note: Due to a length restriction of 64 characters for Fedora PIDs, any string longer than approx 50 characters will be shortened, to ensure space for adding a unique part to the PID.

PID API

WSDL: DomsPIDGenerator.xml

The following describes those methods of the PID API that may be called by the GUI.

generateNexAvailablePID

Generates a new PID.

Input parameters:

  • String infix The PID of the object.

Returns:

  • String The newly generated unique PID, possibly including the provided infix.

PID API (last edited 2010-03-17 13:08:50 by localhost)