Sample

Sample
Sample
JSON Example
{
    "id": 0,
    "author": {
        "id": 0,
        "federationId": "string",
        "communitiesUser": "string",
        "fullName": "string",
        "gitHubLogin": "string",
        "gitHubToken": "string",
        "linked": false,
        "score": "number"
    },
    "name": "string",
    "type": "string",
    "created": "string",
    "lastUpdated": "string",
    "lastAutoUpdated": "string",
    "readmeHtml": "string",
    "appendRepositoryReadme": false,
    "repositoryReadmeHtml": "string",
    "ossLicense": "string",
    "downloadUrl": "string",
    "webUrl": "string",
    "gitHubUrl": "string",
    "branch": "string",
    "paths": [
        "string"
    ],
    "files": [
        {
            "id": 0,
            "sampleId": 0,
            "path": "string",
            "url": "string",
            "basicMimeType": "string"
        }
    ],
    "groups": [
        {
            "id": 0,
            "sampleId": 0,
            "name": "string"
        }
    ],
    "categories": [
        {
            "id": 0,
            "parentId": 0,
            "type": "string",
            "name": "string",
            "version": "string"
        }
    ],
    "tags": [
        {
            "id": 0,
            "parentId": 0,
            "category": "string",
            "name": "string"
        }
    ],
    "comments": [
        {
            "id": 0,
            "parentId": 0,
            "type": "string",
            "federationId": "string",
            "communitiesUser": "string",
            "comment": "string",
            "created": "string",
            "lastUpdated": "string"
        }
    ],
    "favoriteCount": 0,
    "downloadCount": 0,
    "score": "number",
    "metadata": "string"
}
integer As int32 As int32
id
Optional

id

author
Optional

author

string
name
Optional

name

string
type
Optional

type

Possible values are : REPOSITORY, GIST, DCR, LINK,
string As date-time As date-time
created
Optional

created

string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
lastAutoUpdated
Optional

lastAutoUpdated

string
readmeHtml
Optional

readmeHtml

boolean
appendRepositoryReadme
Optional

appendRepositoryReadme

string
repositoryReadmeHtml
Optional

repositoryReadmeHtml

string
ossLicense
Optional

ossLicense

string
downloadUrl
Optional

downloadUrl

string
webUrl
Optional

webUrl

string
gitHubUrl
Optional

gitHubUrl

string
branch
Optional

branch

array of string
paths
Optional

paths

array of SampleFile
files
Optional

files

array of Group
groups
Optional

groups

array of Category
categories
Optional

categories

array of Tag
tags
Optional

tags

array of Comment
comments
Optional

comments

integer As int32 As int32
favoriteCount
Optional

favoriteCount

integer As int32 As int32
downloadCount
Optional

downloadCount

number As double As double
score
Optional

score

string
metadata
Optional

metadata