NZ Legislation Tool API - v1.2.0
GitHub
npm
Preparing search index...
client
getWorkVersions
Function getWorkVersions
getWorkVersions
(
workId
:
string
,
)
:
Promise
<
{
date
:
string
;
formats
:
string
[]
;
id
:
string
;
isCurrent
:
boolean
;
type
:
string
;
version
:
number
;
}
[]
,
>
Get all versions of a work
Parameters
workId
:
string
Returns
Promise
<
{
date
:
string
;
formats
:
string
[]
;
id
:
string
;
isCurrent
:
boolean
;
type
:
string
;
version
:
number
;
}
[]
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
NZ Legislation Tool API - v1.2.0
Loading...
Get all versions of a work