Skip to content

Instantly share code, notes, and snippets.

@artisticcheese
Created February 15, 2019 18:43
Show Gist options
  • Save artisticcheese/2b5410ee65bc7b76273fdef47edd0c4b to your computer and use it in GitHub Desktop.
Save artisticcheese/2b5410ee65bc7b76273fdef47edd0c4b to your computer and use it in GitHub Desktop.
RequestSchema
{
"properties": {
"createdDate": {
"type": "string"
},
"detailedMessage": {
"properties": {
"html": {
"type": "string"
},
"markdown": {
"type": "string"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"eventType": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"properties": {
"html": {
"type": "string"
},
"markdown": {
"type": "string"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"notificationId": {
"type": "integer"
},
"publisherId": {
"type": "string"
},
"resource": {
"properties": {
"buildNumber": {
"type": "string"
},
"definition": {
"properties": {
"batchSize": {
"type": "integer"
},
"definitionType": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"triggerType": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"drop": {
"properties": {
"downloadUrl": {
"type": "string"
},
"location": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"dropLocation": {
"type": "string"
},
"finishTime": {
"type": "string"
},
"hasDiagnostics": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"lastChangedBy": {
"properties": {
"displayName": {
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"uniqueName": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"log": {
"properties": {
"downloadUrl": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"queue": {
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"queueType": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"reason": {
"type": "string"
},
"requests": {
"items": {
"properties": {
"id": {
"type": "integer"
},
"requestedFor": {
"properties": {
"displayName": {
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"uniqueName": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"url",
"requestedFor"
],
"type": "object"
},
"type": "array"
},
"retainIndefinitely": {
"type": "boolean"
},
"sourceGetVersion": {
"type": "string"
},
"startTime": {
"type": "string"
},
"status": {
"type": "string"
},
"uri": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"resourceContainers": {
"properties": {
"account": {
"properties": {
"id": {
"type": "string"
}
},
"type": "object"
},
"collection": {
"properties": {
"id": {
"type": "string"
}
},
"type": "object"
},
"project": {
"properties": {
"id": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"resourceVersion": {
"type": "string"
},
"subscriptionId": {
"type": "string"
}
},
"type": "object"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment