Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[REST API] refine the spec #4337

Closed
40 of 48 tasks
mydmdm opened this issue Mar 28, 2020 · 0 comments · Fixed by #4355
Closed
40 of 48 tasks

[REST API] refine the spec #4337

mydmdm opened this issue Mar 28, 2020 · 0 comments · Fixed by #4355

Comments

@mydmdm
Copy link
Contributor

mydmdm commented Mar 28, 2020

The existing RESTful API doc is incomplete and inconsistent with real implementation, thus we need to

  • refine the rest api spec

    • get /api/v2/info

    • get /api/v2/cluster/skutypes (internal)

    • get /api/v2/token

    • delete /api/v2/token/{token}

    • post /api/v2/token/application

    • change token to tokens in doc Update token to tokens #4389

    • get /api/v2/authn/oidc/login

    • get /api/v2/authn/oidc/logout

    • post /api/v2/basic/login (authn/basic/login??)

    • /api/v2/basic/logout (?) (yundong)

    • post /api/v2/users

    • get /api/v2/users

    • get /api/v2/users/{user} (coding Refine user api #4379 , docs are done)

    • put /api/v2/users

    • put /api/v2/users/me

    • get /api/v2/users/{user}

    • delete /api/v2/user/{user}

    • put /api/v2/user/{user}/group

    • put /api/v2/user/{user}/grouplist

    • delete /api/v2/user/{user}/group

    • change user to users in doc (put-delete /user/{user}/group)

    • get /api/v2/groups

    • post /api/v2/groups

    • get /api/v2/groups/{group}

    • put /api/v2/groups/{group}

    • delete /api/v2/groups/{group}

    • get /api/v2/groups/{group}/userlist

    • change group to groups in doc

    • get /api/v2/virtual-clusters

    • get /api/v2/virtual-clusters/{vc}

    • get /api/v2/storages

    • get /api/v2/storages/{storage}

    • get /api/v2/jobs

    • post /api/v2/jobs (clarify job name constraint Cannot submit jobs with very long job name #4391)

    • get /api/v2/jobs/{user}~{job}

    • get /api/v2/jobs/{user}~{job}/config

    • put /api/v2/jobs/{user}~{job}/exectionType

    • check token is checked in all methods not only post (yifan)

    • get /api/v2/jobs/{user}~{job}/job-attempts/healthz

    • get /api/v2/jobs/{user}~{job}/job-attempts

    • get /api/v2/jobs/{user}~{job}/job-attempts/{attempt}

    • add authentication to job history APIs (mingliang)

    • get /api/v2/kubernetes/nodes

    • get /api/v2/kubernetes/pods

  • update js-sdk accordingly

    • classes and clients
    • tests
@mydmdm mydmdm added the 0.18 label Mar 28, 2020
@mydmdm mydmdm added this to the Pure K8S Beta Release milestone Mar 28, 2020
@mydmdm mydmdm changed the title [REST API] [REST API] refine the spec Mar 28, 2020
@mydmdm mydmdm linked a pull request Apr 8, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants