kernelci.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Trevor Gamblin <tgamblin@baylibre.com>
To: Jeny Sheth <jeny.sadadia@collabora.com>
Cc: kernelci@lists.linux.dev
Subject: Re: KernelCI Local Instance docs have missing/outdated info
Date: Tue, 28 Nov 2023 16:34:50 -0500	[thread overview]
Message-ID: <b281cbba-8013-4701-9352-a176f4e692fc@baylibre.com> (raw)
In-Reply-To: <9820b359-cfc0-45b6-9edc-722b50e533c7@collabora.com>


On 2023-11-27 23:43, Jeny Sheth wrote:
> Hello Trevor,
>
> Thanks for reporting the issue. Due to recent API updates on user 
> management side, a few endpoints have been redesigned and renamed. 
> Endpoint to get access tokens has been renamed to `/user/login`.
>
> We have updated documentation accordingly and updates have been 
> rolled-out to https://kernelci.org/docs/api. You can continue 
> referring to the same link. Sorry for the hurdles you had to face.

Hi Jeny,

Thanks for the update! I've got it running now.

- Trevor
>
> Thank you, Jeny
>
>
> On 14/11/23 3:13 am, Trevor Gamblin wrote:
>> Hello,
>>
>> While following https://kernelci.org/docs/api/local-instance/, I have 
>> run into an issue when trying to generate an admin API token:
>>
>> [tgamblin@homunculus ~]$ curl -X 'POST' \
>>   'http://localhost:8001/latest/token' \
>>   -H 'accept: application/json' \
>>   -H 'Content-Type: application/x-www-form-urlencoded' \
>>   -d 'grant_type=&username=admin&password=hello&scope=admin users'
>> {"detail":"Not Found"}[tgamblin@homunculus ~]$
>>
>> The previous steps to start the instance and confirm API availability 
>> work fine, but the "token" endpoint doesn't appear to be up, and I 
>> can't continue without it.
>>
>> Is there a newer set of documentation that can be followed, or can 
>> someone point me at what I've missed?
>>
>> Thanks,
>>
>> - Trevor
>>
>>

      reply	other threads:[~2023-11-28 21:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-13 21:43 KernelCI Local Instance docs have missing/outdated info Trevor Gamblin
2023-11-28  4:43 ` Jeny Sheth
2023-11-28 21:34   ` Trevor Gamblin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b281cbba-8013-4701-9352-a176f4e692fc@baylibre.com \
    --to=tgamblin@baylibre.com \
    --cc=jeny.sadadia@collabora.com \
    --cc=kernelci@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).