Skip to content

Instantly share code, notes, and snippets.

@slint
Last active June 24, 2021 17:27
Show Gist options
  • Save slint/da574f71e43c6bcdd5ffa64fafd164f6 to your computer and use it in GitHub Desktop.
Save slint/da574f71e43c6bcdd5ffa64fafd164f6 to your computer and use it in GitHub Desktop.
Zenodo webhook event payloads
{
"timestamp": "2019-10-23T18:19:36.995076+00:00",
"id": "7203d723-7bdd-40e9-bea0-453b17397ad9",
"event_type": "community.records.addition",
"context": {
"community": "biosyslit",
"user": 1161
},
"payload": {
"community": {
"id": "biosyslit"
},
"record": {
"conceptdoi": "10.5281/zenodo.3463474",
"conceptrecid": "3463474",
"created": "2019-10-23T18:19:36.995076+00:00",
"doi": "10.5281/zenodo.3463475",
"doi_url": "https://doi.org/10.5281/zenodo.3463475",
"files": [
{
"checksum": "c98f08e545810fef54f0f0c93e81d3c1",
"filename": "355_371_Kurbatov_etal.pdf",
"filesize": 1487250,
"id": "7e650b7f-b035-4fe7-9627-d671c4782754",
"links": {
"download": "https://zenodo.org/api/files/7203d723-7bdd-40e9-bea0-453b17397ad9/355_371_Kurbatov_etal.pdf",
"self": "https://zenodo.org/api/deposit/depositions/3463475/files/7e650b7f-b035-4fe7-9627-d671c4782754"
}
}
],
"id": 3463475,
"links": {
"bucket": "https://zenodo.org/api/files/7203d723-7bdd-40e9-bea0-453b17397ad9",
"conceptdoi": "https://doi.org/10.5281/zenodo.3463474",
"doi": "https://doi.org/10.5281/zenodo.3463475",
"html": "https://zenodo.org/record/3463475",
"latest": "https://zenodo.org/api/records/3463475",
"latest_html": "https://zenodo.org/record/3463475",
"self": "https://zenodo.org/api/records/3463475"
},
"metadata": {
"access_right": "open",
"communities": [
{
"identifier": "biosyslit"
}
],
"contributors": [
{
"name": "Plazi",
"type": "DataCurator"
},
{
"name": "Revue suisse de Zoologie",
"type": "ContactPerson"
}
],
"creators": [
{
"affiliation": "Museum of Entomology, All-Russian Plant Quarantine Center, Pogranichnaya 32, Bykovo 140150, Russia. E-mail: [email protected]",
"name": "Kurbatov, Sergey A."
},
{
"affiliation": "Muséum d'histoire naturelle, Case Postale 6434, CH-1211Genève 6, Switzerland. Corresponding author: [email protected]",
"name": "Cuccodoro, Giulio"
},
{
"affiliation": "Dipartimento di Scienze Biologiche, Geologiche ed Ambientali dell'Università – sezione Biologia Animale, via Androne 81, 95124 Catania, Italy. E-mail: [email protected]",
"name": "Sabella, Giorgio"
}
],
"description": "...ommited for brevity...",
"doi": "10.5281/zenodo.3463475",
"journal_issue": "2",
"journal_pages": "355-371",
"journal_title": "Revue suisse de Zoologie",
"journal_volume": "126",
"keywords": [
"Achilia",
"Chile",
"Taxonomy",
"New species",
"Distribution"
],
"language": "eng",
"license": "CC-BY-4.0",
"prereserve_doi": {
"doi": "10.5281/zenodo.3463475",
"recid": 3463475
},
"publication_date": "2018-09-01",
"publication_type": "article",
"related_identifiers": [
{
"identifier": "10.5281/zenodo.3463474",
"relation": "isVersionOf",
"scheme": "doi"
}
],
"title": "A revision of the Chilean Brachyglutini – Part 5. Revision of Achilia Reitter, 1890: A. cornuta, A. spinifer, A. cribratifrons, and A. monstrata species groups (Coleoptera: Staphylinidae: Pselaphinae)",
"upload_type": "publication"
},
"modified": "2020-01-20T17:23:31.236014+00:00",
"owner": 1161,
"record_id": 3463475,
"state": "done",
"submitted": true,
"title": "A revision of the Chilean Brachyglutini – Part 5. Revision of Achilia Reitter, 1890: A. cornuta, A. spinifer, A. cribratifrons, and A. monstrata species groups (Coleoptera: Staphylinidae: Pselaphinae)"
}
}
}
{
"timestamp": "2019-10-23T18:19:36.995076+00:00",
"id": "7203d723-7bdd-40e9-bea0-453b17397ad9",
"event_type": "community.records.inclusion",
"context": {
"community": "biosyslit",
"user": 1161
},
"payload": {
"community": {
"id": "biosyslit",
"curator": {
"id": 1161,
"name": "Marcus"
}
},
"record": {
"conceptdoi": "10.5281/zenodo.3463474",
"conceptrecid": "3463474",
"created": "2019-10-23T18:19:36.995076+00:00",
"doi": "10.5281/zenodo.3463475",
"doi_url": "https://doi.org/10.5281/zenodo.3463475",
"files": [
{
"checksum": "c98f08e545810fef54f0f0c93e81d3c1",
"filename": "355_371_Kurbatov_etal.pdf",
"filesize": 1487250,
"id": "7e650b7f-b035-4fe7-9627-d671c4782754",
"links": {
"download": "https://zenodo.org/api/files/7203d723-7bdd-40e9-bea0-453b17397ad9/355_371_Kurbatov_etal.pdf",
"self": "https://zenodo.org/api/deposit/depositions/3463475/files/7e650b7f-b035-4fe7-9627-d671c4782754"
}
}
],
"id": 3463475,
"links": {
"badge": "https://zenodo.org/badge/doi/10.5281/zenodo.3463475.svg",
"bucket": "https://zenodo.org/api/files/7203d723-7bdd-40e9-bea0-453b17397ad9",
"conceptbadge": "https://zenodo.org/badge/doi/10.5281/zenodo.3463474.svg",
"conceptdoi": "https://doi.org/10.5281/zenodo.3463474",
"doi": "https://doi.org/10.5281/zenodo.3463475",
"html": "https://zenodo.org/record/3463475",
"latest": "https://zenodo.org/api/records/3463475",
"latest_html": "https://zenodo.org/record/3463475",
"self": "https://zenodo.org/api/records/3463475"
},
"metadata": {
"access_right": "open",
"contributors": [
{
"name": "Plazi",
"type": "DataCurator"
},
{
"name": "Revue suisse de Zoologie",
"type": "ContactPerson"
}
],
"creators": [
{
"affiliation": "Museum of Entomology, All-Russian Plant Quarantine Center, Pogranichnaya 32, Bykovo 140150, Russia. E-mail: [email protected]",
"name": "Kurbatov, Sergey A."
},
{
"affiliation": "Muséum d'histoire naturelle, Case Postale 6434, CH-1211Genève 6, Switzerland. Corresponding author: [email protected]",
"name": "Cuccodoro, Giulio"
},
{
"affiliation": "Dipartimento di Scienze Biologiche, Geologiche ed Ambientali dell'Università – sezione Biologia Animale, via Androne 81, 95124 Catania, Italy. E-mail: [email protected]",
"name": "Sabella, Giorgio"
}
],
"description": "...ommitted for brevity...",
"doi": "10.5281/zenodo.3463475",
"journal_issue": "2",
"journal_pages": "355-371",
"journal_title": "Revue suisse de Zoologie",
"journal_volume": "126",
"keywords": [
"Achilia",
"Chile",
"Taxonomy",
"New species",
"Distribution"
],
"language": "eng",
"license": "CC-BY-4.0",
"prereserve_doi": {
"doi": "10.5281/zenodo.3463475",
"recid": 3463475
},
"publication_date": "2018-09-01",
"publication_type": "article",
"related_identifiers": [
{
"identifier": "10.5281/zenodo.3463474",
"relation": "isVersionOf",
"scheme": "doi"
}
],
"title": "A revision of the Chilean Brachyglutini – Part 5. Revision of Achilia Reitter, 1890: A. cornuta, A. spinifer, A. cribratifrons, and A. monstrata species groups (Coleoptera: Staphylinidae: Pselaphinae)",
"upload_type": "publication"
},
"modified": "2020-01-20T17:23:31.236014+00:00",
"owner": 1161,
"record_id": 3463475,
"state": "done",
"submitted": true,
"title": "A revision of the Chilean Brachyglutini – Part 5. Revision of Achilia Reitter, 1890: A. cornuta, A. spinifer, A. cribratifrons, and A. monstrata species groups (Coleoptera: Staphylinidae: Pselaphinae)"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment