Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
d3bc0b33
Commit
d3bc0b33
authored
Feb 04, 2015
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #7163 [skip ci]
parent
cab7bf61
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
70 additions
and
30 deletions
+70
-30
rest-resources.md
docs/guide-es/rest-resources.md
+5
-3
rest-response-formatting.md
docs/guide-es/rest-response-formatting.md
+9
-3
rest-resources.md
docs/guide-ja/rest-resources.md
+5
-3
rest-response-formatting.md
docs/guide-ja/rest-response-formatting.md
+9
-3
rest-resources.md
docs/guide-ru/rest-resources.md
+5
-3
rest-response-formatting.md
docs/guide-ru/rest-response-formatting.md
+9
-3
rest-resources.md
docs/guide-zh-CN/rest-resources.md
+5
-3
rest-response-formatting.md
docs/guide-zh-CN/rest-response-formatting.md
+9
-3
rest-resources.md
docs/guide/rest-resources.md
+5
-3
rest-response-formatting.md
docs/guide/rest-response-formatting.md
+9
-3
No files found.
docs/guide-es/rest-resources.md
View file @
d3bc0b33
...
@@ -145,9 +145,11 @@ Cuando un objeto `User` es devuelto en una respuesta, puede contener un elemento
...
@@ -145,9 +145,11 @@ Cuando un objeto `User` es devuelto en una respuesta, puede contener un elemento
"id": 100,
"id": 100,
"email": "user@example.com",
"email": "user@example.com",
// ...
// ...
"_links" => [
"_links" => {
"self": "https://example.com/users/100"
"self": {
]
"href": "https://example.com/users/100"
}
}
}
}
```
```
...
...
docs/guide-es/rest-response-formatting.md
View file @
d3bc0b33
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
...
],
],
"_links": {
"_links": {
"self": "http://localhost/users?page=1",
"self": {
"next": "http://localhost/users?page=2",
"href": "http://localhost/users?page=1"
"last": "http://localhost/users?page=50"
},
"next": {
"href": "http://localhost/users?page=2"
},
"last": {
"href": "http://localhost/users?page=50"
}
},
},
"_meta": {
"_meta": {
"totalCount": 1000,
"totalCount": 1000,
...
...
docs/guide-ja/rest-resources.md
View file @
d3bc0b33
...
@@ -164,9 +164,11 @@ class User extends ActiveRecord implements Linkable
...
@@ -164,9 +164,11 @@ class User extends ActiveRecord implements Linkable
"id": 100,
"id": 100,
"email": "user@example.com",
"email": "user@example.com",
// ...
// ...
"_links" => [
"_links" => {
"self": "https://example.com/users/100"
"self": {
]
"href": "https://example.com/users/100"
}
}
}
}
```
```
...
...
docs/guide-ja/rest-response-formatting.md
View file @
d3bc0b33
...
@@ -131,9 +131,15 @@ Content-Type: application/json; charset=UTF-8
...
@@ -131,9 +131,15 @@ Content-Type: application/json; charset=UTF-8
...
...
],
],
"_links": {
"_links": {
"self": "http://localhost/users?page=1",
"self": {
"next": "http://localhost/users?page=2",
"href": "http://localhost/users?page=1"
"last": "http://localhost/users?page=50"
},
"next": {
"href": "http://localhost/users?page=2"
},
"last": {
"href": "http://localhost/users?page=50"
}
},
},
"_meta": {
"_meta": {
"totalCount": 1000,
"totalCount": 1000,
...
...
docs/guide-ru/rest-resources.md
View file @
d3bc0b33
...
@@ -160,9 +160,11 @@ class User extends ActiveRecord implements Linkable
...
@@ -160,9 +160,11 @@ class User extends ActiveRecord implements Linkable
"id": 100,
"id": 100,
"email": "user@example.com",
"email": "user@example.com",
// ...
// ...
"_links" => [
"_links" => {
"self": "https://example.com/users/100"
"self": {
]
"href": "https://example.com/users/100"
}
}
}
}
```
```
...
...
docs/guide-ru/rest-response-formatting.md
View file @
d3bc0b33
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
...
],
],
"_links": {
"_links": {
"self": "http://localhost/users?page=1",
"self": {
"next": "http://localhost/users?page=2",
"href": "http://localhost/users?page=1"
"last": "http://localhost/users?page=50"
},
"next": {
"href": "http://localhost/users?page=2"
},
"last": {
"href": "http://localhost/users?page=50"
}
},
},
"_meta": {
"_meta": {
"totalCount": 1000,
"totalCount": 1000,
...
...
docs/guide-zh-CN/rest-resources.md
View file @
d3bc0b33
...
@@ -151,9 +151,11 @@ class User extends ActiveRecord implements Linkable
...
@@ -151,9 +151,11 @@ class User extends ActiveRecord implements Linkable
"id": 100,
"id": 100,
"email": "user@example.com",
"email": "user@example.com",
// ...
// ...
"_links" => [
"_links" => {
"self": "https://example.com/users/100"
"self": {
]
"href": "https://example.com/users/100"
}
}
}
}
```
```
...
...
docs/guide-zh-CN/rest-response-formatting.md
View file @
d3bc0b33
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
...
],
],
"_links": {
"_links": {
"self": "http://localhost/users?page=1",
"self": {
"next": "http://localhost/users?page=2",
"href": "http://localhost/users?page=1"
"last": "http://localhost/users?page=50"
},
"next": {
"href": "http://localhost/users?page=2"
},
"last": {
"href": "http://localhost/users?page=50"
}
},
},
"_meta": {
"_meta": {
"totalCount": 1000,
"totalCount": 1000,
...
...
docs/guide/rest-resources.md
View file @
d3bc0b33
...
@@ -170,9 +170,11 @@ to the user, for example,
...
@@ -170,9 +170,11 @@ to the user, for example,
"id": 100,
"id": 100,
"email": "user@example.com",
"email": "user@example.com",
// ...
// ...
"_links" => [
"_links" => {
"self": "https://example.com/users/100"
"self": {
]
"href": "https://example.com/users/100"
}
}
}
}
```
```
...
...
docs/guide/rest-response-formatting.md
View file @
d3bc0b33
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
@@ -136,9 +136,15 @@ Content-Type: application/json; charset=UTF-8
...
...
],
],
"_links": {
"_links": {
"self": "http://localhost/users?page=1",
"self": {
"next": "http://localhost/users?page=2",
"href": "http://localhost/users?page=1"
"last": "http://localhost/users?page=50"
},
"next": {
"href": "http://localhost/users?page=2"
},
"last": {
"href": "http://localhost/users?page=50"
}
},
},
"_meta": {
"_meta": {
"totalCount": 1000,
"totalCount": 1000,
...
...
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