Preparing search index...
The search index is not available
@octopusdeploy/api-client
@octopusdeploy/api-client
ProjectRepository
Class ProjectRepository
Hierarchy
SpaceScopedBasicRepository
<
Project
,
NewProject
,
ProjectListArgs
>
ProjectRepository
Index
Constructors
constructor
Properties
base
Api
Path
Template
client
space
Name
take
All
take
Default
Page
Size
Methods
create
del
extend
get
list
modify
notify
Subscribers
To
Data
Modifications
save
subscribe
To
Data
Modifications
unsubscribe
From
Data
Modifications
Constructors
constructor
new
Project
Repository
(
client
:
Client
, spaceName
:
string
)
:
ProjectRepository
Parameters
client:
Client
spaceName:
string
Returns
ProjectRepository
Properties
Protected
Readonly
base
Api
Path
Template
base
Api
Path
Template
:
string
Protected
client
client
:
Client
Protected
Readonly
space
Name
space
Name
:
string
Readonly
take
All
take
All
:
2147483647
= 2147483647
Readonly
take
Default
Page
Size
take
Default
Page
Size
:
30
= 30
Methods
create
create
(
resource
:
NewProject
, args
?:
RouteArgs
<
RouteArgLookup
>
)
:
Promise
<
Project
>
Parameters
resource:
NewProject
Optional
args:
RouteArgs
<
RouteArgLookup
>
Returns
Promise
<
Project
>
del
del
(
resource
:
Project
)
:
Promise
<
Project
>
Parameters
resource:
Project
Returns
Promise
<
Project
>
Protected
extend
extend
(
arg1
:
any
, arg2
:
any
)
:
any
Parameters
arg1:
any
arg2:
any
Returns
any
get
get
(
id
:
string
)
:
Promise
<
Project
>
Parameters
id:
string
Returns
Promise
<
Project
>
list
list
(
args
?:
ProjectListArgs
)
:
Promise
<
ResourceCollection
<
Project
>
>
Parameters
Optional
args:
ProjectListArgs
Returns
Promise
<
ResourceCollection
<
Project
>
>
modify
modify
(
resource
:
Project
, args
?:
RouteArgs
<
RouteArgLookup
>
)
:
Promise
<
Project
>
Parameters
resource:
Project
Optional
args:
RouteArgs
<
RouteArgLookup
>
Returns
Promise
<
Project
>
Protected
notify
Subscribers
To
Data
Modifications
notify
Subscribers
To
Data
Modifications
(
resource
:
TExistingResource
)
:
TExistingResource
Parameters
resource:
TExistingResource
Returns
TExistingResource
save
save
(
resource
:
Project
|
NewProject
)
:
Promise
<
Project
>
Parameters
resource:
Project
|
NewProject
Returns
Promise
<
Project
>
subscribe
To
Data
Modifications
subscribe
To
Data
Modifications
(
key
:
string
, callback
:
(
(
data
:
Project
)
=>
void
)
)
:
void
Parameters
key:
string
callback:
(
(
data
:
Project
)
=>
void
)
(
data
:
Project
)
:
void
Parameters
data:
Project
Returns
void
Returns
void
unsubscribe
From
Data
Modifications
unsubscribe
From
Data
Modifications
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@octopusdeploy/api-
client
Project
Repository
constructor
base
Api
Path
Template
client
space
Name
take
All
take
Default
Page
Size
create
del
extend
get
list
modify
notify
Subscribers
To
Data
Modifications
save
subscribe
To
Data
Modifications
unsubscribe
From
Data
Modifications
Generated using
TypeDoc