Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newRequestResponseSchema is incorrect #71

Open
jamacku opened this issue Nov 14, 2023 · 0 comments · Fixed by #112
Open

newRequestResponseSchema is incorrect #71

jamacku opened this issue Nov 14, 2023 · 0 comments · Fixed by #112
Labels
bug 🐛 Something isn't working

Comments

@jamacku
Copy link
Member

jamacku commented Nov 14, 2023

Testing Farm documentation doesn't show the correct return object: https://testing-farm.gitlab.io/api/#operation/requestsPost

The more accurate response example is:

{
  "id": "9e644e5c-b40b-49b1-b8c5-fb60062c98c5",
  "test": {
    "fmf": {
      "url": "https://github.com/jamacku/nginx-container",
      "ref": "master",
      "path": ".",
      "merge_sha": null,
      "name": "centos",
      "plan_filter": null,
      "test_filter": null
    },
    "tmt": null,
    "script": null,
    "sti": null
  },
  "state": "new",
  "environments": [
    {
      "arch": "x86_64",
      "os": {
        "compose": "Fedora-latest"
      },
      "pool": null,
      "variables": {},
      "secrets": {},
      "artifacts": [],
      "settings": {
        "pipeline": null,
        "provisioning": null
      },
      "tmt": {
        "context": null,
        "environment": null
      },
      "hardware": null,
      "kickstart": null
    }
  ],
  "notification": null,
  "settings": null,
  "created": "None",
  "updated": "None"
}
@jamacku jamacku added the bug 🐛 Something isn't working label Nov 14, 2023
@jamacku jamacku linked a pull request Apr 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant