[Iplant-api-dev] Agave clients
Duvick, Jonathan P [GDCBS]
jduvick at iastate.edu
Tue Jan 6 18:01:25 MST 2015
I also notice the API returns 'consumerKey' and 'consumerSecret' which are different from the current documentation...in case this helps anyone
Jon Duvick
PlantGDB Manager
http://www.plantgdb.org/
Department of Genetics, Development and Cell Biology
2258 Molecular Biology Building
Iowa State University
Ames IA 50011
(515) 294-2360
(515) 294-6755 FAX
________________________________
From: iplant-api-dev-bounces at iplantcollaborative.org <iplant-api-dev-bounces at iplantcollaborative.org> on behalf of Duvick, Jonathan P [GDCBS] <jduvick at iastate.edu>
Sent: Tuesday, January 6, 2015 5:48 PM
To: Duvick, Jonathan P [GDCBS]
Cc: Discussion of iPlant API development
Subject: Re: [Iplant-api-dev] Agave clients
Thanks, that worked. Looking forward to the new documentation!
Jon Duvick
PlantGDB Manager
http://www.plantgdb.org/
Department of Genetics, Development and Cell Biology
2258 Molecular Biology Building
Iowa State University
Ames IA 50011
(515) 294-2360
(515) 294-6755 FAX
________________________________
From: iplant-api-dev-bounces at iplantcollaborative.org <iplant-api-dev-bounces at iplantcollaborative.org> on behalf of Joe Stubbs <jstubbs at tacc.utexas.edu>
Sent: Tuesday, January 6, 2015 3:59 PM
To: Duvick, Jonathan P [GDCBS]
Cc: Discussion of iPlant API development
Subject: Re: [Iplant-api-dev] Agave clients
We're sorry for the confusion, Jon. Matt is correct, the parameter should be "clientName". It looks like it is correct on the live docs but wrong in the "Client Registration" tutorial example.
We are rolling out a large update to the website very soon with many improvements including updates to all the tutorials and documentation. In the meantime, let us know if you encounter any issues.
Best,
Joe
________________________________
From: iplant-api-dev-bounces at iplantcollaborative.org <iplant-api-dev-bounces at iplantcollaborative.org> on behalf of Matthew Vaughn <vaughn at tacc.utexas.edu>
Sent: Tuesday, January 6, 2015 3:24 PM
To: Joe Stubbs
Cc: Discussion of iPlant API development
Subject: Re: [Iplant-api-dev] Agave clients
Here's an example of the cURL syntax to create a client named "iplantc". I have passed in my iPlant username and password (hidden here) as credentials. Hopefully this helps.
curl -sku "vaughn:xxxx" -X POST -d clientName=iplantc -d "tier=Unlimited" -d "description=" -d "callbackUrl=" https://agave.iplantc.org/clients/v2/?pretty=true
On Jan 6, 2015, at 3:15 PM, Duvick, Jonathan P [GDCBS] <jduvick at iastate.edu<mailto:jduvick at iastate.edu>> wrote:
What is the correct syntax for 'client name' to use when creating a client/retrieving API keys (http://agaveapi.co/live-docs/#!/clients/create_post_1)
-name?
-clientName?
-client_name?
-something else?
All three of these forms appear at various places in the documentation....
But no matter which one I use I always get
Keys not valid ; message: clientName is required
I'm refactoring code in a VM that currently uses the Foundation API to authenticate, and I'm stuck on this initial step. I'm using the php curl object syntax
Thanks,
Jon Duvick
PlantGDB Manager
http://www.plantgdb.org/
Department of Genetics, Development and Cell Biology
2258 Molecular Biology Building
Iowa State University
Ames IA 50011
(515) 294-2360
(515) 294-6755 FAX
_______________________________________________
Iplant-api-dev Mailing List: Iplant-api-dev at iplantcollaborative.org<mailto:Iplant-api-dev at iplantcollaborative.org>
List Info and Archives: http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev
One-click Unsubscribe: http://mail.iplantcollaborative.org/mailman/options/iplant-api-dev/vaughn%40tacc.utexas.edu?unsub=1&unsubconfirm=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20150107/f522ec96/attachment-0001.html
More information about the Iplant-api-dev
mailing list