Skip to content

API de Objetivos #12

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

Open
5 tasks
serpi90 opened this issue May 10, 2019 · 0 comments
Open
5 tasks

API de Objetivos #12

serpi90 opened this issue May 10, 2019 · 0 comments

Comments

@serpi90
Copy link
Contributor

serpi90 commented May 10, 2019

  • GET /objectives
  • POST /objectives
  • GET /objectives/{{uuid}}
  • PATCH /objectives/{{uuid}}
  • DELETE /objectives/{{uuid}}

GET /objectives

Listado de objetivos
Con opción de no traer objetivos ya resueltos / de periodos cerrados
application/vnd.mercap.objective+json

POST /objectives

Dar de alta un objetivo
application/vnd.mercap.objective+json

GET /objectives/{{uuid}}

Ver un objetivo
application/vnd.mercap.objective+json

{
  "description": "Ship Abbaco v2",
  "key-results": [
    {
      "keyresult": <uuid>,
      "description": "Deploy Abbaco backend APIs",
      "weight": 0.3
    },{
      "keyresult": <uuid>,
      "description": "Deploy Abbaco frontend using APIs",
      "weight": 0.3
    }
  ]
}

PATCH /objectives/{{uuid}}

Actualizar un objetivo
application/vnd.mercap.objective+json

DELETE /objectives/{{uuid}}

Eliminar un objetivo

Ref: https://docs.google.com/document/d/1Xo5O0HS6RJWY17MnQ_HeOT1F69hXH42nA9gwbZmHgVo/edit#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant