#2140 -- Correct API documentation on password field for user.

This commit is contained in:
Buster "Silver Eagle" Neece 2019-11-20 20:06:38 -06:00
parent 8d2be7b20c
commit e15ed0db62
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
2 changed files with 38 additions and 22 deletions

View File

@ -52,12 +52,16 @@ class User
* @ORM\Column(name="auth_password", type="string", length=255, nullable=true)
*
* @AuditLog\AuditIgnore()
*
* @OA\Property(example="")
* @var string|null
*/
protected $auth_password;
/**
* @OA\Property(example="")
* @var string|null
*/
protected $new_password;
/**
* @ORM\Column(name="name", type="string", length=100, nullable=true)
*

View File

@ -1919,7 +1919,7 @@ components:
connected_on:
description: 'UNIX timestamp that the user first connected.'
type: integer
example: 1570848556
example: 1574319184
connected_time:
description: 'Number of seconds that the user has been connected.'
type: integer
@ -2015,7 +2015,7 @@ components:
cued_at:
description: 'UNIX timestamp when the item was cued for playback.'
type: integer
example: 1570848556
example: 1574319184
autodj_custom_uri:
description: 'Custom AutoDJ playback URI, if it exists.'
type: string
@ -2070,7 +2070,7 @@ components:
played_at:
description: 'UNIX timestamp when playback started.'
type: integer
example: 1570848556
example: 1574319184
duration:
description: 'Duration of the song in seconds'
type: integer
@ -2211,7 +2211,7 @@ components:
timestamp:
description: 'The current UNIX timestamp'
type: integer
example: 1570848556
example: 1574319184
type: object
Api_Time:
properties:
@ -2290,10 +2290,10 @@ components:
example: true
created_at:
type: integer
example: 1570848556
example: 1574319184
updated_at:
type: integer
example: 1570848556
example: 1574319184
type: object
Role:
properties:
@ -2446,7 +2446,7 @@ components:
mtime:
description: 'The UNIX timestamp when the database was last modified.'
type: integer
example: 1570848556
example: 1574319184
fade_overlap:
description: 'The length of time (in seconds) before the next song starts in the fade;'
type: number
@ -2472,6 +2472,10 @@ components:
type: number
format: float
example: 30
art_updated_at:
description: 'The latest time (UNIX timestamp) when album art was updated.'
type: integer
example: 1574319184
playlists:
items: { }
type: object
@ -2571,15 +2575,6 @@ components:
play_per_hour_minute:
type: integer
example: 15
schedule_start_time:
type: integer
example: 900
schedule_end_time:
type: integer
example: 2200
schedule_days:
type: string
example: '0,1,2,3'
weight:
type: integer
example: 3
@ -2592,6 +2587,23 @@ components:
backend_options:
type: string
example: 'interrupt,loop_once,single_track,merge'
schedule_items:
items: { }
type: object
StationPlaylistSchedule:
properties:
id:
type: integer
example: 1
start_time:
type: integer
example: 900
end_time:
type: integer
example: 2200
days:
type: string
example: '0,1,2,3'
type: object
StationRemote:
properties:
@ -2671,7 +2683,7 @@ components:
example: true
reactivate_at:
type: integer
example: 1570848556
example: 1574319184
type: object
StationWebhook:
properties:
@ -2717,7 +2729,7 @@ components:
email:
type: string
example: demo@azuracast.com
auth_password:
new_password:
type: string
example: ''
name:
@ -2734,10 +2746,10 @@ components:
example: A1B2C3D4
created_at:
type: integer
example: 1570848556
example: 1574319184
updated_at:
type: integer
example: 1570848556
example: 1574319184
roles:
items: { }
type: object