From: Trevor Gamblin <tgamblin@baylibre.com>
To: kernelci@lists.linux.dev
Subject: KernelCI Local Instance docs have missing/outdated info
Date: Mon, 13 Nov 2023 16:43:12 -0500 [thread overview]
Message-ID: <7ee32af8-341f-429b-96c1-ca407cb17f0d@baylibre.com> (raw)
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
next reply other threads:[~2023-11-13 21:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-13 21:43 Trevor Gamblin [this message]
2023-11-28 4:43 ` KernelCI Local Instance docs have missing/outdated info Jeny Sheth
2023-11-28 21:34 ` Trevor Gamblin
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=7ee32af8-341f-429b-96c1-ca407cb17f0d@baylibre.com \
--to=tgamblin@baylibre.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).