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/components/schemas/activity_model.yml

54 lines
1.2 KiB

# Schema: ActivityModel
---
type: object
properties:
id:
type: integer
description: Activity id
readOnly: true
minimum: 0
exclusiveMinimum: true
version:
type: integer
description: Activity version
readOnly: true
minimum: 0
exclusiveMinimum: true
comment:
allOf:
- "$ref": "./formattable.yml"
- {}
details:
type: array
readOnly: true
items:
allOf:
- "$ref": "./formattable.yml"
createdAt:
type: string
format: date-time
description: Time of creation
readOnly: true
example:
_type: Activity::Comment
_links:
self:
href: "/api/v3/activity/1"
title: Priority changed from High to Low
workPackage:
href: "/api/v3/work_packages/1"
title: quis numquam qui voluptatum quia praesentium blanditiis nisi
user:
href: "/api/v3/users/1"
title: John Sheppard - admin
id: 1
details:
- format: markdown
raw: Lorem ipsum dolor sit amet.
html: "<p>Lorem ipsum dolor sit amet.</p>"
comment:
format: markdown
raw: Lorem ipsum dolor sit amet.
html: "<p>Lorem ipsum dolor sit amet.</p>"
createdAt: '2014-05-21T08:51:20Z'
version: 31