Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Conversation

@AleksandarCole
Copy link
Member

This PR introduces the initial RFC for API-v2, a project aimed at standardizing our API structure and implementing comprehensive documentation for all endpoints.

Key points:

  • Migrate existing services to a new, standardized format
  • Implement sustainable, long-term documentation practices
  • Establish a framework for consistent API development going forward

This RFC outlines the motivation, proposed solutions, and open questions for discussion.


[Timestamps](#timestamps)

## Introduction {#introduction}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the {#...} part in the headers?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll just use this comment thread to make a note about the formatting:

  • Table of contents should be re-formatted.
  • Code blocks in this file should be properly formatted too.

Tasks and Project Webhooks can be restructured as Project Triggers, including support for external triggers beyond webhooks.
"result": "STOPPED",
"state": "FINISHED"

"timeline": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we do not have the final decision here wether to put timeline in status or metadata?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for "live" resources timeline will be in status, and we will keep base timestamps in metadata

},
"spec": {
"agent": {
"ports": [{
Copy link
Contributor

@hamir-suspect hamir-suspect Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agent ports should be in status -> agent as is the ip address.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to move it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants