OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/docs/api/apiv3/paths/budget.yml

50 lines
1.3 KiB

# /api/v3/budgets/{id}
---
get:
parameters:
- description: Budget id
example: '1'
in: path
name: id
required: true
schema:
type: integer
responses:
'200':
content:
application/hal+json:
examples:
response:
value:
_links:
self:
href: "/api/v3/budgets/1"
title: Q3 2015
_type: Budget
id: 1
subject: Q3 2015
schema:
"$ref": "../components/schemas/budget_model.yml"
description: OK
headers: {}
'403':
content:
application/hal+json:
schema:
$ref: "../components/schemas/error_response.yml"
examples:
response:
value:
_type: Error
errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
message: You are not allowed to see this budget.
description: |-
Returned if the client does not have sufficient permissions.
**Required permission:** view work packages **or** view budgets (on the budgets project)
headers: {}
tags:
- Budgets
description: ''
operationId: view_Budget
summary: view Budget