Skip to content

Commit

Permalink
Merge pull request #1 from yetisoftworks/vnext
Browse files Browse the repository at this point in the history
Vnext
  • Loading branch information
cpluta committed Nov 1, 2019
2 parents fa1acda + 355131a commit a15036a
Show file tree
Hide file tree
Showing 17 changed files with 87 additions and 48 deletions.
3 changes: 3 additions & 0 deletions docs/data/creating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,8 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to create meshes or specific mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.
3 changes: 3 additions & 0 deletions docs/data/deleting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ Permanently remove Mesh data from collection.
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to delete meshes or mesh.

404 : Not Found
* Mesh data was not found.

Expand Down
15 changes: 13 additions & 2 deletions docs/data/projecting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ API Reference
var client = MeshyClient.Initialize(accountName, publicKey);
var connection = await client.LoginAnonymouslyAsync(username);
var stateAttractions = await connection.Projections.Get<PopularState>(projectionName,
var stateAttractions = await connection.Projections.Get<PopularState>(projectionName,
filter,
orderBy,
page,
pageSize);
Expand All @@ -53,6 +54,8 @@ API Reference
Unique identifier for user or device.
projectionName : :type:`string`, :required:`required`
Identifies name of mesh collection. e.g. person.
filter : :type:`string`
Criteria provided in a MongoDB format to limit results.
orderBy : :type:`object`
Defines which fields need to be ordered and direction. Review more ways to use `ordering <#ordering-data>`_.
page : :type:`integer`, default: 1
Expand All @@ -72,6 +75,7 @@ API Reference
var popularStates = await meshyConnection.projections.get<any>(projectionName,
{
filter: filter,
orderBy: orderBy,
page: page,
pageSize: pageSize
Expand All @@ -87,6 +91,8 @@ API Reference
Unique identifier for user or device.
projectionName : :type:`string`, :required:`required`
Identifies name of mesh collection. e.g. person.
filter : :type:`string`
Criteria provided in a MongoDB format to limit results.
orderBy : :type:`string`
Defines which fields need to be ordered and direction in a MongoDB format. Review more ways to use `ordering <#ordering-data>`_.
page : :type:`integer`, default: 1
Expand All @@ -111,6 +117,8 @@ API Reference
Identifies name of mesh collection. e.g. person.
projectionName : :type:`string`, :required:`required`
Identifies name of mesh collection. e.g. person.
filter : :type:`string`
Criteria provided in a MongoDB format to limit results.
orderBy : :type:`string`
Defines which fields need to be ordered and direction in a MongoDB format. Review more ways to use `ordering <#ordering-data>`_.
page : :type:`integer`, default: 1
Expand Down Expand Up @@ -143,7 +151,10 @@ Example Result

401 : Unauthorized
* User is not authorized to make call.


403 : Forbidden
* User has insufficent permission to read projections.

404 : Not Found
* Projection was not found.

Expand Down
3 changes: 3 additions & 0 deletions docs/data/retrieving.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to read meshes or mesh.

404 : Not Found
* Mesh data was not found.

Expand Down
5 changes: 4 additions & 1 deletion docs/data/searching.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ Example Result

401 : Unauthorized
* User is not authorized to make call.


403 : Forbidden
* User has insufficent permission to read meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.
3 changes: 3 additions & 0 deletions docs/data/updating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,8 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to update meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.
35 changes: 0 additions & 35 deletions docs/details/orderby.rst

This file was deleted.

12 changes: 12 additions & 0 deletions docs/intro/getting_started_csharp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to create meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -372,6 +375,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to update meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -428,6 +434,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to read meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -473,6 +482,9 @@ The example below shows deleting the data from the API by providing the object.
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to delete meshes or mesh.

404 : Not Found
* Mesh data was not found.

Expand Down
14 changes: 13 additions & 1 deletion docs/intro/getting_started_nodejs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to create meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -353,6 +356,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to update meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -410,7 +416,10 @@ Example Result

401 : Unauthorized
* User is not authorized to make call.


403 : Forbidden
* User has insufficent permission to read meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -456,6 +465,9 @@ The example below shows deleting the data from the API by providing the object.
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to delete meshes or mesh.

404 : Not Found
* Mesh data was not found.

Expand Down
14 changes: 13 additions & 1 deletion docs/intro/getting_started_rest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to create meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -388,6 +391,9 @@ Example Result
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to update meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -455,7 +461,10 @@ Example Result

401 : Unauthorized
* User is not authorized to make call.


403 : Forbidden
* User has insufficent permission to read meshes or mesh.

429 : Too many request
* You have either hit your API or Database limit. Please review your account.

Expand Down Expand Up @@ -504,6 +513,9 @@ The example below shows deleting the data from the API by providing the object.
401 : Unauthorized
* User is not authorized to make call.

403 : Forbidden
* User has insufficent permission to delete meshes or mesh.

404 : Not Found
* Mesh data was not found.

Expand Down
Empty file added docs/roles/creating.rst
Empty file.
Empty file added docs/roles/deleting.rst
Empty file.
Empty file added docs/roles/retrieving.rst
Empty file.
Empty file added docs/roles/searching.rst
Empty file.
Empty file added docs/roles/updating.rst
Empty file.
14 changes: 10 additions & 4 deletions docs/users/retrieving_self.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,16 @@ Example Result
"verified": true,
"isActive": true,
"phoneNumber": "5555555555",
"roles": [
"admin",
"test"
],
"roles" : [
{
"name":"admin",
"addedDate":"2019-01-01T00:00:00.0000000+00:00"
},
{
"name":"test",
"addedDate":"2019-01-01T00:00:00.0000000+00:00"
}
],
"securityQuestions": [
{
"question": "What would you say to this question?",
Expand Down
14 changes: 10 additions & 4 deletions docs/users/updating_self.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,16 @@ Example Result
"isActive": true,
"phoneNumber": "+15555555555",
"emailAddress": "test@test.com",
"roles": [
"admin",
"test"
],
"roles" : [
{
"name":"admin",
"addedDate":"2019-01-01T00:00:00.0000000+00:00"
},
{
"name":"test",
"addedDate":"2019-01-01T00:00:00.0000000+00:00"
}
],
"securityQuestions": [
{
"question": "What would you say to this question?",
Expand Down

0 comments on commit a15036a

Please sign in to comment.