[cc-devel] CC Web Services Update
Nathan R. Yergler
nathan at creativecommons.org
Wed Jul 5 09:54:29 EDT 2006
Later today we'll be rolling out a set of updates for the Creative
Commons web services (http://api.creativecommons.org). The changes include:
* Jurisdiction names are now translated. This was missed in the
original translation effort and has been corrected.
* Extraneous arguments to service calls are now ignored. Previously
extra arguments caused the calls to fail.
* Calls to /issue and /get are now validated. This is the biggest
change of the set. Previously the values passed in as the answers XML
document (to /issue) or on the query string (to /get) were passed
through without validation. They are now checked against the list of
allowable values returned from the /license/[class] call. For example,
a call to /license/standard shows the possible values (@id on the enum
elements) for the "derivatives" parameter are "y", "n", and "sa" (Share
Alike). If a value other than these three is provided for the
<derivatives> element (issue) or ?derivatives query string parameter
(get), the server will return an error.
See http://api.creativecommons.org/docs for details on error
messages/identifiers and for additional documentation.
--
Nathan R. Yergler
Software Engineer
Creative Commons
http://wiki.creativecommons.org/User:NathanYergler
More information about the cc-devel
mailing list