kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
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.
91 lines
2.5 KiB
91 lines
2.5 KiB
# Schema: NewsModel
|
|
---
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: integer
|
|
description: News' id
|
|
readOnly: true
|
|
minimum: 0
|
|
exclusiveMinimum: true
|
|
title:
|
|
type: string
|
|
description: The headline of the news
|
|
readOnly: true
|
|
summary:
|
|
type: string
|
|
description: A short summary
|
|
readOnly: true
|
|
description:
|
|
type: string
|
|
description: The main body of the news with all the details
|
|
readOnly: true
|
|
createdAt:
|
|
type: string
|
|
format: date-time
|
|
description: The time the news was created at
|
|
readOnly: true
|
|
_links:
|
|
type: object
|
|
required:
|
|
- self
|
|
- project
|
|
- author
|
|
properties:
|
|
self:
|
|
allOf:
|
|
- "$ref": "./link.yml"
|
|
- description: |-
|
|
This news
|
|
|
|
**Resource**: News
|
|
readOnly: true
|
|
project:
|
|
allOf:
|
|
- "$ref": "./link.yml"
|
|
- description: |-
|
|
The project the news is situated in
|
|
|
|
**Resource**: Project
|
|
author:
|
|
allOf:
|
|
- "$ref": "./link.yml"
|
|
- description: |-
|
|
The user having created the news
|
|
|
|
**Resource**: User
|
|
readOnly: true
|
|
example:
|
|
_type: News
|
|
id: 1
|
|
title: asperiores possimus nam doloribus ab
|
|
summary: Celebrer spiculum colo viscus claustrum atque. Id nulla culpa sumptus.
|
|
Comparo crapula depopulo demonstro.
|
|
description:
|
|
format: markdown
|
|
raw: Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago
|
|
vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago
|
|
consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus
|
|
tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto
|
|
sortitus cresco apud vestrum qui.
|
|
html: "<p>Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur
|
|
vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria
|
|
ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter
|
|
somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero
|
|
vulnus. Supplanto sortitus cresco apud vestrum qui.</p>"
|
|
createdAt: '2015-03-20T12:57:01Z'
|
|
_links:
|
|
self:
|
|
href: "/api/v3/news/1"
|
|
title: asperiores possimus nam doloribus ab
|
|
project:
|
|
href: "/api/v3/projects/1"
|
|
title: A project
|
|
author:
|
|
href: "/api/v3/users/2"
|
|
title: Peggie Feeney
|
|
_embedded:
|
|
project:
|
|
_type: Project...
|
|
author:
|
|
_type: User...
|
|
|