adobe / adobe/aio-cli-plugin-runtime
creating apis does not work via cli command
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
`aio rt:api:create /base-1 /relative-1 get generic --response-type http`
Even after waiting 5 mins, the URL results in a 404.
The URL should be in the form https://adobeioruntime.net/apis/YOUR_NAMESPACE/base-1/relative-1
Deploying the same api via `app.config.yaml` works:
```yaml
application:
actions: actions
web: web-src
runtimeManifest:
packages:
test-app:
license: Apache-2.0
actions:
generic:
function: actions/generic/index.js
web: 'yes'
runtime: nodejs:18
inputs:
LOG_LEVEL: debug
annotations:
require-adobe-auth: false
final: true
apis:
my-api-name:
base-1:
relative-1:
generic:
method: get
response: http
```
Contributor guide
Assessment
This issue has not been assessed yet.