Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3c9c4a1b
Commit
3c9c4a1b
authored
Feb 08, 2021
by
Cynthia Ng
Committed by
Markus Koller
Feb 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update subscription descriptions to match docs
parent
bcb377af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ee/lib/ee/api/namespaces.rb
ee/lib/ee/api/namespaces.rb
+9
-9
No files found.
ee/lib/ee/api/namespaces.rb
View file @
3c9c4a1b
...
...
@@ -36,15 +36,15 @@ module EE
resource
:namespaces
,
requirements:
::
API
::
API
::
NAMESPACE_OR_PROJECT_REQUIREMENTS
do
helpers
do
params
:gitlab_subscription_optional_attributes
do
optional
:start_date
,
type:
Date
,
desc:
'
The date when subscription was started
'
optional
:seats
,
type:
Integer
,
desc:
'
The number of seats purchased
'
optional
:max_seats_used
,
type:
Integer
,
desc:
'
The max number of active users detected
in the last month'
optional
:plan_code
,
type:
String
,
desc:
'
The code of the purchased plan
'
optional
:end_date
,
type:
Date
,
desc:
'
The date when subscription expires
'
optional
:auto_renew
,
type:
Grape
::
API
::
Boolean
,
desc:
'Whether
the subscription auto renews
'
optional
:trial
,
type:
Grape
::
API
::
Boolean
,
desc:
'Whether the subscription is trial'
optional
:trial_ends_on
,
type:
Date
,
desc:
'
The date when the trial expires
'
optional
:trial_starts_on
,
type:
Date
,
desc:
'
The date when the trial starts
'
optional
:start_date
,
type:
Date
,
desc:
'
Start date of subscription
'
optional
:seats
,
type:
Integer
,
desc:
'
Number of seats in subscription
'
optional
:max_seats_used
,
type:
Integer
,
desc:
'
Highest number of active users
in the last month'
optional
:plan_code
,
type:
String
,
desc:
'
Subscription tier code
'
optional
:end_date
,
type:
Date
,
desc:
'
End date of subscription
'
optional
:auto_renew
,
type:
Grape
::
API
::
Boolean
,
desc:
'Whether
subscription will auto renew on end date
'
optional
:trial
,
type:
Grape
::
API
::
Boolean
,
desc:
'Whether the subscription is
a
trial'
optional
:trial_ends_on
,
type:
Date
,
desc:
'
End date of trial
'
optional
:trial_starts_on
,
type:
Date
,
desc:
'
Start date of trial
'
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment