Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
JSON
at sl/gitmirror
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205{ "lexicon": 1, "id": "sh.tangled.actor.getProfileActivity", "defs": { "main": { "type": "query", "description": "Get recent Tangled activity for an actor, grouped by calendar month.", "parameters": { "type": "params", "required": [ "actor" ], "properties": { "actor": { "type": "string", "format": "did", "description": "Actor whose activity to return." }, "months": { "type": "integer", "minimum": 1, "maximum": 12, "default": 7, "description": "Number of UTC calendar months to include, including the current month." } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "months", "truncated" ], "properties": { "months": { "type": "array", "items": { "type": "ref", "ref": "#activityMonth" } }, "truncated": { "type": "boolean", "description": "True when the result reached the server activity-item safety limit." } } } } }, "activityMonth": { "type": "object", "required": [ "start", "commits", "repos", "issues", "pulls" ], "properties": { "start": { "type": "string", "format": "datetime", "description": "Start of this UTC calendar month." }, "commits": { "type": "integer", "minimum": 0 }, "repos": { "type": "array", "items": { "type": "ref", "ref": "#repoActivity" } }, "issues": { "type": "array", "items": { "type": "ref", "ref": "#issueActivity" } }, "pulls": { "type": "array", "items": { "type": "ref", "ref": "#pullActivity" } } } }, "repoRef": { "type": "object", "required": [ "uri", "ownerDid", "ownerHandle", "name" ], "properties": { "uri": { "type": "string", "format": "at-uri" }, "did": { "type": "string", "format": "did" }, "ownerDid": { "type": "string", "format": "did" }, "ownerHandle": { "type": "string", "format": "handle" }, "name": { "type": "string" } } }, "repoActivity": { "type": "object", "required": [ "repo", "kind" ], "properties": { "repo": { "type": "ref", "ref": "#repoRef" }, "kind": { "type": "string", "knownValues": [ "created", "forked" ] } } }, "issueActivity": { "type": "object", "required": [ "uri", "title", "state", "repo" ], "properties": { "uri": { "type": "string", "format": "at-uri" }, "title": { "type": "string" }, "state": { "type": "string", "knownValues": [ "open", "closed" ] }, "repo": { "type": "ref", "ref": "#repoRef" } } }, "pullActivity": { "type": "object", "required": [ "uri", "title", "state", "repo" ], "properties": { "uri": { "type": "string", "format": "at-uri" }, "title": { "type": "string" }, "state": { "type": "string", "knownValues": [ "open", "closed", "merged" ] }, "repo": { "type": "ref", "ref": "#repoRef" } } } }}