Thread

Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > how to generate an api-ke...

how to generate an api-key for RESTful API RSS Feed

Wednesday, March 2, 2016
Hi:

We have an on-premise installation of Spirateam, and we are making some efforts to utilize its RESTful api for integration purpose.
In the manual:
http://www.inflectra.com/SpiraDemo3/Services/v4_0/RestService.aspx
It says:
Pass in the username application API-Key using the username and api-key HTTP headers:
                            username: fredbloggs
                            api-key: {XXXXXXXXXXXXXXXX}
I have a very simple problem here, how can this api-key be generated?
Thanks in advance.


2 Replies
Sarah T.Sarah T.
re: Chris Li on Wednesday, March 2, 2016
Wednesday, March 2, 2016
Hi Chris

You can get the API Key (also known as the RSS Token) (which is a simple GUID) by following these steps:
  1. Click on the User Profile menu in the application header
  2. Click on 'My Profile'
  3. The GUID listed in the RSS Token text box is the one to use.
  4. If you don't see an RSS Token in that box, then click on 'Enable RSS Feeds' so that it is checked
  5. Click the button 'Generate New' to get a new RSS token
  6. Click [Update] to save your changes
Regards

Sarah
Chris LiChris Li
re: Sarah T. on Wednesday, March 2, 2016
Friday, March 4, 2016
It works,  Thank you very much for your help.
"API Key (also known as the RSS Token)"
If you had put this "Also known" part into your documentation, hours of frustration could be saved, could you suggestion is to add this to your RESTful api documentation? to avoid confusing more new-users like me.
Thank you
Tagged
Statistics
  • Started: 3/2/2016
  • Last Reply: 3/4/2016
  • Replies: 2
  • Views: 301
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.