adobe / adobe/aio-cli-plugin-runtime
creating apis does not work via cli command
- Lenguaje dominante
- JavaScript
- Estrellas
- 21
- Forks
- 33
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
`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
```
Guía de contribución
Línea de trabajo
Reproduce `aio rt:api:create /base-1 /relative-1 get generic --response-type http` y compara su resultado con el despliegue funcional de `app.config.yaml`. Sigue el punto de entrada de creación de API de la CLI para determinar por qué la URL esperada `/apis/YOUR_NAMESPACE/base-1/relative-1` devuelve 404; la tarea estará terminada cuando la URL creada por la CLI se resuelva correctamente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100