| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserName | query | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Skip | form | int? | No | |
| Take | form | int? | No | |
| OrderBy | form | string | No | |
| OrderByDesc | form | string | No | |
| Include | form | string | No | |
| Fields | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | Yes | |
| Description | form | string | Yes | |
| Homepage | form | string | Yes | |
| Language | form | string | Yes | |
| Watchers_Count | form | int | No | |
| Stargazes_Count | form | int | No | |
| Forks_Count | form | int | No | |
| Open_Issues_Count | form | int | No | |
| Size | form | int | No | |
| Full_Name | form | string | Yes | |
| Created_at | form | DateTime | No | |
| Pushed_At | form | DateTime? | No | |
| Updated_At | form | DateTime? | No | |
| Has_issues | form | bool | No | |
| Has_Downloads | form | bool | No | |
| Has_Wiki | form | bool | No | |
| Has_Pages | form | bool | No | |
| Fork | form | bool | No | |
| Owner | form | GithubUser | Yes | |
| Svn_Url | form | string | Yes | |
| Mirror_Url | form | string | Yes | |
| Url | form | string | Yes | |
| Ssh_Url | form | string | Yes | |
| Html_Url | form | string | Yes | |
| Clone_Url | form | string | Yes | |
| Git_Url | form | string | Yes | |
| Private | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Login | form | string | Yes | |
| Avatar_Url | form | string | Yes | |
| Url | form | string | Yes | |
| Followers | form | int? | No | |
| Following | form | int? | No | |
| Type | form | string | Yes | |
| Public_Gists | form | int? | No | |
| Location | form | string | Yes | |
| Company | form | string | Yes | |
| Html_Url | form | string | Yes | |
| Public_Repos | form | int? | No | |
| Created_At | form | DateTime? | No | |
| Blog | form | string | Yes | |
| form | string | Yes | ||
| Name | form | string | Yes | |
| Hireable | form | bool? | No | |
| Gravatar_Id | form | string | Yes | |
| Bio | form | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Offset | form | int | No | |
| Total | form | int | No | |
| Results | form | List<GithubRepo> | No | |
| Meta | form | Dictionary<string, string> | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/QueryGitHubRepos HTTP/1.1
Host: sharpscript.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
userName: String,
skip: 0,
take: 0,
orderBy: String,
orderByDesc: String,
include: String,
fields: String,
meta:
{
String: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
offset: 0,
total: 0,
results:
[
{
id: 0,
name: String,
description: String,
homepage: String,
language: String,
watchers_Count: 0,
stargazes_Count: 0,
forks_Count: 0,
open_Issues_Count: 0,
size: 0,
full_Name: String,
created_at: 0001-01-01,
pushed_At: 0001-01-01,
updated_At: 0001-01-01,
has_issues: False,
has_Downloads: False,
has_Wiki: False,
has_Pages: False,
fork: False,
owner:
{
id: 0,
login: String,
avatar_Url: String,
url: String,
followers: 0,
following: 0,
type: String,
public_Gists: 0,
location: String,
company: String,
html_Url: String,
public_Repos: 0,
created_At: 0001-01-01,
blog: String,
email: String,
name: String,
hireable: False,
gravatar_Id: String,
bio: String
},
svn_Url: String,
mirror_Url: String,
url: String,
ssh_Url: String,
html_Url: String,
clone_Url: String,
git_Url: String,
private: False
}
],
meta:
{
String: String
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}