Skip to content

Commit e8b6c6f

Browse files
committed
Changed dates to be ISO 8601 instead of unix time
1 parent 894be88 commit e8b6c6f

4 files changed

Lines changed: 22 additions & 10 deletions

File tree

source/includes/administration/_environments.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ curl "https://api.cloud.ca/v1/environments" \
2323
"name": "cheyenne_mountain",
2424
"description": "Environment for base at Cheyenne Mountain",
2525
"membership": "MANY_USERS",
26-
"creationDate": 1474986518000,
26+
"creationDate": "2017-08-15T12:00:00.000Z",
2727
"organization": {
2828
"id": "a9f93785-0545-4876-8241-3b19b9a86721",
2929
"name": "sg1",
@@ -59,7 +59,7 @@ Attributes |  
5959
`name`<br/>*string* | The name of the environment
6060
`description`<br/>*string* | The description of the environment
6161
`membership`<br/>*string* | Type of membership of the environment. (e.g. ALL_ORG_USERS, MANY_USERS)
62-
`creationDate`<br/>*long* | The date in [unix time](https://en.wikipedia.org/wiki/Unix_time) that the environment was created
62+
`creationDate`<br/>*string* | The date in [ISO 8601](#https://en.wikipedia.org/wiki/ISO_8601) that the environment was created
6363
`organization`<br/>*[Organization](#organizations)* | The organization of the environment<br/>*includes*: `id`, `name`, `entryPoint`
6464
`serviceConnection`<br/>*[ServiceConnection](#service-connections)* | The service connection of the environment<br/>*includes*: `id`, `name`
6565
`roles`<br/>*Array[[Role](#roles)]* | The roles of the environment with all the users assigned to them.<br/>*includes*: `id`, `name`, `isDefault`, `users.id`, `users.name`
@@ -87,7 +87,7 @@ curl "https://api.cloud.ca/v1/environment/[environment-id]" \
8787
"name": "galactica",
8888
"description": "Environment for the Galactica",
8989
"membership": "MANY_USERS",
90-
"creationDate": 1474986518000,
90+
"creationDate": "2017-08-15T12:00:00.000Z",
9191
"organization": {
9292
"id": "a3340a89-8f60-407d-8a49-f5cfe81eef8f",
9393
"name": "kobol",
@@ -126,7 +126,7 @@ Attributes | &nbsp;
126126
`name`<br/>*string* | The name of the environment
127127
`description`<br/>*string* | The description of the environment
128128
`membership`<br/>*string* | Type of membership of the environment. (e.g. ALL_ORG_USERS, MANY_USERS)
129-
`creationDate`<br/>*long* | The date in [unix time](https://en.wikipedia.org/wiki/Unix_time) that the environment was created
129+
`creationDate`<br/>*string* | The date in [ISO 8601](#https://en.wikipedia.org/wiki/ISO_8601) that the environment was created
130130
`organization`<br/>*[Organization](#organizations)* | The organization of the environment<br/>*includes*: `id`, `name`, `entryPoint`
131131
`serviceConnection`<br/>*[ServiceConnection](#service-connections)* | The service connection of the environment<br/>*includes*: `id`, `name`
132132
`users`<br/>*Array[[User](#users)]* | The users that are members of the environment<br/>*includes*: `id`, `username`

source/includes/administration/_organizations.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ curl "https://api.cloud.ca/v1/organizations" \
2929
"id": "03bc22bd-adc4-46b8-988d-afddc24c0cb5",
3030
"name": "Umbrella Corporation",
3131
"entryPoint": "umbrella",
32+
"billableStartDate": "2017-08-15T12:00:00.000Z",
33+
"isBillable": true,
34+
"tags": ["a-tag"],
3235
"parent": {
3336
"id": "8e3393ce-ee63-4f32-9e0f-7b0200fa655a",
3437
"name": "Capcom"
@@ -65,6 +68,9 @@ Attributes | &nbsp;
6568
`id`<br/>*UUID* | ---
6669
`name`<br/>*string* | ---
6770
`entryPoint`<br/>*string* | The entry point of the organization is the subdomain of the organization in the cloud.ca URL : `[entryPoint].cloud.ca`
71+
`billableStartDate`<br/>*string* | The billable start date in [ISO 8601](#https://en.wikipedia.org/wiki/ISO_8601) of the organization
72+
`isBillable`<br/>*boolean* | If the organization is billable this values is true, false otherwise
73+
`tags`<br/>*Array[string]* | Tags associated to the organization
6874
`parent`<br/>*[Organization](#organizations)* | If the organization is a sub-organization, it will have it's `parent` organization. *includes*:`id`,`name`
6975
`environments`<br/>*Array[[Environment](#environments)]* | The environments belonging to the organization<br/>*includes*: `id`
7076
`roles`<br/>*Array[[Role](#roles)]* | The system and environments roles belonging to the organization<br/>*includes*: `id`
@@ -91,6 +97,9 @@ curl "https://api.cloud.ca/v1/organizations/[id]" \
9197
"id": "03bc22bd-adc4-46b8-988d-afddc24c0cb5",
9298
"name": "Nintendo US",
9399
"entryPoint": "nintendo-us",
100+
"billableStartDate": "2017-08-15T12:00:00.000Z",
101+
"isBillable": true,
102+
"tags": ["a-tag"],
94103
"parent": {
95104
"id": "8e3393ce-ee63-4f32-9e0f-7b0200fa655a",
96105
"name": "Nintendo"
@@ -126,6 +135,9 @@ Attributes | &nbsp;
126135
`id`<br/>*UUID* | ---
127136
`name`<br/>*string* | ---
128137
`entryPoint`<br/>*string* | The entry point of the organization is the subdomain of the organization in the cloud.ca URL :<br/>`[entryPoint].cloud.ca`
138+
`billableStartDate`<br/>*string* | The billable start date in [ISO 8601](#https://en.wikipedia.org/wiki/ISO_8601) of the organization
139+
`isBillable`<br/>*boolean* | If the organization is billable this values is true, false otherwise
140+
`tags`<br/>*Array[string]* | Tags associated to the organization
129141
`parent`<br/>*[Organization](#organizations)* | If the organization is a sub-organization, it will have it's `parent` organization. *includes*:`id`,`name`
130142
`environments`<br/>*Array[[Environment](#environments)]* | The environments belonging to the organization<br/>*includes*: `id`
131143
`roles`<br/>*Array[[Role](#roles)]* | The system and environments roles belonging to the organization<br/>*includes*: `id`

source/includes/administration/_service_connections.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Service connections are the services that you can create resources for (e.g. com
1818
"name": "Compute - Québec",
1919
"type": "CloudCA",
2020
"status": {
21-
"lastUpdated": 1478897488000,
21+
"lastUpdated": "2017-08-15T12:00:00.000Z",
2222
"reachable": true
2323
}
2424
}]
@@ -52,7 +52,7 @@ Attributes | &nbsp;
5252
"name": "Compute - Québec",
5353
"type": "CloudCA",
5454
"status": {
55-
"lastUpdated": 1478897488000,
55+
"lastUpdated": "2017-08-15T12:00:00.000Z",
5656
"reachable": true
5757
}
5858
}]

source/includes/administration/_users.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ curl "https://api.cloud.ca/v1/users" \
2424
"firstName": "Carey",
2525
"lastName": "Price",
2626
"email": "gohabsgo@cloud.ca",
27-
"creationDate": 1476796926000,
27+
"creationDate": "2017-08-15T12:00:00.000Z",
2828
"status": "ACTIVE",
2929
"organization": {
3030
"id": "8e3393ce-ee63-4f32-9e0f-7b0200fa655a",
@@ -60,7 +60,7 @@ Attributes | &nbsp;
6060
`firstName`<br/>*string* | The first name of the user
6161
`lastName`<br/>*string* | The last name of the user
6262
`email`<br/>*string* | The email of the user
63-
`creationDate`<br/>*long* | The date in [unix time](https://en.wikipedia.org/wiki/Unix_time) that the user was created
63+
`creationDate`<br/>*string* | The date in [ISO 8601](#https://en.wikipedia.org/wiki/ISO_8601) that the user was created
6464
`status`<br/>*string* | The current status of the user.
6565
`organization`<br/>*[Organization](#organization)* | The organization to which the user belongs
6666
`roles`<br/>*Array[[Role](#roles)]* | The system and environments roles that are assigned to the user<br/>*includes*: `id`, `name` and `environment.id`
@@ -88,7 +88,7 @@ curl "https://api.cloud.ca/v1/users/[user-id]" \
8888
"firstName": "Frodo",
8989
"lastName": "Baggins",
9090
"email": "frodo@cloud.ca",
91-
"creationDate": 1476796926000,
91+
"creationDate": "2017-08-15T12:00:00.000Z",
9292
"status": "ACTIVE",
9393
"organization": {
9494
"id": "c64dcd1d-9123-45e5-ad00-5d635c49176b",
@@ -128,7 +128,7 @@ Attributes | &nbsp;
128128
`firstName`<br/>*string* | The first name of the user
129129
`lastName`<br/>*string* | The last name of the user
130130
`email`<br/>*string* | The email of the user
131-
`creationDate`<br/>*long* | The date in [unix time](https://en.wikipedia.org/wiki/Unix_time) that the user was created
131+
`creationDate`<br/>*string* | The date in [ISO 8601](#https://en.wikipedia.org/wiki/ISO_8601) that the user was created
132132
`status`<br/>*string* | The current status of the user.
133133
`organization`<br/>*[Organization](#organization)* | The organization to which the user belongs
134134
`environments`<br/>*Array[[Environment](#environments)]* | The environments the user is member of<br/>*includes*: `id`, `name`

0 commit comments

Comments
 (0)