Skip to content

Commit b0a0fd1

Browse files
committed
Add view_url property in user memberships
1 parent 1323729 commit b0a0fd1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/index.html.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ Property | Type | Description
7676
`paused_date` | <code>datetime&#124;null</code> | The date (in Atom format) when the membership was last paused, in the local timezone. This is `null` if the membership was never paused. The value is not removed if the membership changes status.
7777
`paused_date_gmt` | <code>datetime&#124;null</code> | The date (in Atom format) when the membership was last paused, in UTC. This is `null` if the membership was never paused. The value is not removed if the membership changes status.
7878
`cancelled_date` | <code>datetime&#124;null</code> | The date (in Atom format) when the membership was cancelled, in the local timezone. This is `null` if the membership was not cancelled.
79-
`cancelled_date_gmt` | <code>datetime&#124;null</code> | The date (in Atom format) when the membership was cancelled, in UTC. This is `null` if the membership was not cancelled.
79+
`cancelled_date_gmt` | <code>datetime&#124;null</code> | The date (in Atom format) when the membership was cancelled, in UTC. This is `null` if the membership was not cancelled.
80+
`view_url` | <code>string</code> | URL pointing to the site's Members Area accessible to the membership's owner.
8081
`meta_data` | <code>array</code> | Holds any WordPress meta data set on the membership. Each array item has an `id` (integer), a `key` (string) and a `value` (either a boolean, an integer, or string, or serialized data).
8182
`links` | <code>array</code> | An array of items linking to related objects accessible through the REST API.
8283

@@ -111,6 +112,7 @@ Property | Type | Description
111112
"paused_date_gmt": null,
112113
"cancelled_date": null,
113114
"cancelled_date_gmt": null,
115+
"view_url": "http://skyverge.test/my-account/members-area/10/my-membership-content/",
114116
"meta_data": [],
115117
"_links": {
116118
"self": [
@@ -194,6 +196,7 @@ Parameter | Type | Default | Descripti
194196
"paused_date_gmt": null,
195197
"cancelled_date": null,
196198
"cancelled_date_gmt": null,
199+
"view_url": "http://skyverge.test/my-account/members-area/10/my-membership-content/",
197200
"meta_data": [],
198201
"_links": {
199202
"self": [

0 commit comments

Comments
 (0)