Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
Re: [opensuse-buildservice] Opensuse API doc
  • From: Peter Poeml <poeml@xxxxxxx>
  • Date: Thu, 7 Aug 2008 01:25:20 +0200
  • Message-id: <20080806232520.GF1693@xxxxxxx>
On Wed, Aug 06, 2008 at 11:51:12PM +0200, Petit Eric wrote:
Hi i try to write a C# dll to use opensuse API, i use for doc , there is a more complete
doc/description, for example if i want to set user data :
PUT /person/<userid>
I gess after i should put somthing like :
But it doesn't work
Another thingh missing for example is the list of aviable tag and metada.
All GET should be okay, but most of PUT are not compety documented.

Yes, it's really lacking.

Your best bet is to observe what osc, the command line client is doing
and reverse engineer from there.

osc can "explain" what it does. Use -d as global option to see all URLs
of requests issued, and -H to for the gory details.

Of course you could also look at the code.

The example you mentioned loosely corresponds to the 'osc -e meta user
<userid>' command. In that particular case, the data is XML which is
sent in the request body. The XML being the complete data blob.

"WARNING: This bug is visible to non-employees. Please be respectful!"

SUSE LINUX Products GmbH
Research & Development
< Previous Next >
Follow Ups