mobilizon/test/fixtures/vcr_cassettes/activity_pub/mobilizon_parent_resource.json

77 lines
53 KiB
JSON
Raw Normal View History

[
{
"request": {
"body": "",
"headers": {
"User-Agent": "Test instance localhost - Mobilizon 1.0.0-beta.2"
},
"method": "get",
"options": {
"follow_redirect": "true",
"ssl_options": {
"versions": ["tlsv1.2"]
},
"recv_timeout": 20000,
"connect_timeout": 10000
},
"request_body": "",
"url": "https://framasoft.org"
},
"response": {
"binary": false,
"body": "<!DOCTYPE html><html lang=\"fr\"><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>Framasoft - Changer le monde,un octet à la fois</title><meta name=\"description\" content=\"Framasoft, cest une association déducation populaire, un groupe dami·es convaincu·es quun monde numérique émancipateur est possible, persuadé·es quil adviendra grâce à des actions concrètes sur le terrain et en ligne avec vous et pour vous !\"><link rel=\"shortcut icon\" href=\"https://framasoft.org/icons/favicon.png\"><link rel=\"apple-touch-icon\" href=\"https://framasoft.org/icons/apple-touch-icon.png\"><link rel=\"canonical\" href=\"https://framasoft.org/fr\"><meta name=\"author\" content=\"Framasoft\"><meta property=\"og:type\" content=\"article\"><meta property=\"og:title\" content=\"Framasoft - Changer le monde,un octet à la fois\"><meta property=\"og:image\" content=\"https://framasoft.org/img/opengraph/home.jpg\"><meta property=\"og:url\" content=\"https://framasoft.org/fr\"><meta property=\"og:description\" content=\"Framasoft, cest une association déducation populaire, un groupe dami·es convaincu·es quun monde numérique émancipateur est possible, persuadé·es quil adviendra grâce à des actions concrètes sur le terrain et en ligne avec vous et pour vous !\"><meta name=\"twitter:card\" content=\"summary_large_image\"><meta name=\"twitter:description\" content=\"Framasoft, cest une association déducation populaire, un groupe dami·es convaincu·es quun monde numérique émancipateur est possible, persuadé·es quil adviendra grâce à des actions concrètes sur le terrain et en ligne avec vous et pour vous !\"><meta name=\"twitter:title\" content=\"Framasoft - Changer le monde,un octet à la fois\"><meta name=\"twitter:image\" content=\"https://framasoft.org/img/opengraph/home.jpg\"><link href=\"/main.css\" rel=\"stylesheet\"><link as=\"image\" href=\"/img/2_Essaimage_by-David-Revoy.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/GeGeGenerator.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/Peha-Banquet-CC-By-1920.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/educ-pop-mooc-chatons.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/en/infographie_Le-Monde-de-Framasoft_CC-By-SA-Geoffrey-Dorne-1920px-2018.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/en/infographie_Le-Monde-de-Framasoft_CC-By-SA-Geoffrey-Dorne-1920px-2019.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/fr/infographie_Le-Monde-de-Framasoft_CC-By-SA-Geoffrey-Dorne-1920px-2018.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/fr/infographie_Le-Monde-de-Framasoft_CC-By-SA-Geoffrey-Dorne-1920px-2019.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/fr/quelques-briques_licence-art-libre.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/framateam1.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/framateam2.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/mobilizon/event.jpg\" rel=\"preload\"><link as=\"script\" href=\"/img/mobilizon/event.webm\" rel=\"preload\"><link as=\"image\" href=\"/img/musee-windows_ll-de-mars_licence-art-libre.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/opengraph/home.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/screens/vectoriel-full.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/services-cloud.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/services-framameet.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/services-framapetitions.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/services-mobilizon.jpg\" rel=\"preload\"><link as=\"image\" href=\"/img/services-peertube.jpg\" rel=\"preload\"><link as=\"script\" href=\"/main.00f01130e627638ff430.bundle.js\" rel=\"preload\"><link as=\"style\" href=\"/main.css\" rel=\"preload\"><link as=\"script\" href=\"/vendors~main.00f01130e627638ff430.bundle.js\" rel=\"preload\"><style type=\"text/css\">.carousel-3d-container[data-v-c06c963c]{min-height:1px;width:100%;position:relative;z-index:0;overflow:hi
"headers": {
"Server": "nginx/1.14.2",
"Date": "Fri, 15 May 2020 09:27:16 GMT",
"Content-Type": "text/html",
"Content-Length": "48754",
"Last-Modified": "Fri, 17 Apr 2020 14:19:57 GMT",
"Connection": "keep-alive",
"Vary": "Accept-Encoding",
"ETag": "\"5e99bb0d-be72\"",
"Strict-Transport-Security": "max-age=15768000; includeSubDomains",
"Accept-Ranges": "bytes"
},
"status_code": 200,
"type": "ok"
}
},
{
"request": {
"body": "",
"headers": {
"Accept": "application/activity+json"
},
"method": "get",
"options": {
"follow_redirect": "true",
"ssl_options": {
"versions": ["tlsv1.2"]
},
"recv_timeout": 20000,
"connect_timeout": 10000
},
"request_body": "",
"url": "http://mobilizon1.com/resource/e4ce71bd-6bcc-4c61-9774-7999dde0cc68"
},
"response": {
"binary": false,
"body": "{\"@context\":[\"https://www.w3.org/ns/activitystreams\",\"https://litepub.social/litepub/context.jsonld\",{\"Hashtag\":\"as:Hashtag\",\"PostalAddress\":\"sc:PostalAddress\",\"address\":{\"@id\":\"sc:address\",\"@type\":\"sc:PostalAddress\"},\"addressCountry\":\"sc:addressCountry\",\"addressLocality\":\"sc:addressLocality\",\"addressRegion\":\"sc:addressRegion\",\"anonymousParticipationEnabled\":{\"@id\":\"mz:anonymousParticipationEnabled\",\"@type\":\"sc:Boolean\"},\"category\":\"sc:category\",\"commentsEnabled\":{\"@id\":\"pt:commentsEnabled\",\"@type\":\"sc:Boolean\"},\"ical\":\"http://www.w3.org/2002/12/cal/ical#\",\"joinMode\":{\"@id\":\"mz:joinMode\",\"@type\":\"mz:joinModeType\"},\"joinModeType\":{\"@id\":\"mz:joinModeType\",\"@type\":\"rdfs:Class\"},\"location\":{\"@id\":\"sc:location\",\"@type\":\"sc:Place\"},\"maximumAttendeeCapacity\":\"sc:maximumAttendeeCapacity\",\"mz\":\"https://joinmobilizon.org/ns#\",\"participationMessage\":{\"@id\":\"mz:participationMessage\",\"@type\":\"sc:Text\"},\"postalCode\":\"sc:postalCode\",\"pt\":\"https://joinpeertube.org/ns#\",\"repliesModerationOption\":{\"@id\":\"mz:repliesModerationOption\",\"@type\":\"mz:repliesModerationOptionType\"},\"repliesModerationOptionType\":{\"@id\":\"mz:repliesModerationOptionType\",\"@type\":\"rdfs:Class\"},\"sc\":\"http://schema.org#\",\"streetAddress\":\"sc:streetAddress\",\"uuid\":\"sc:identifier\"}],\"actor\":\"http://mobilizon1.com/@tcit\",\"attributedTo\":\"http://mobilizon1.com/@demo\",\"context\":\"http://mobilizon1.com/@demo/resources\",\"id\":\"http://mobilizon1.com/resource/e4ce71bd-6bcc-4c61-9774-7999dde0cc68\",\"name\":\"folder2\",\"summary\":null,\"to\": \"http://mobilizon1.com/@demo\"\"type\":\"ResourceCollection\"}",
"headers": {
"Server": "nginx/1.17.10 (Ubuntu)",
"Date": "Fri, 15 May 2020 09:27:16 GMT",
"Content-Type": "application/activity+json; charset=utf-8",
"Content-Length": "1518",
"Connection": "keep-alive",
"access-control-allow-credentials": "true",
"access-control-allow-origin": "*",
"access-control-expose-headers": "",
"cache-control": "max-age=0, private, must-revalidate",
"x-request-id": "Fg75tr3IqxX8AnwAAG0C"
},
"status_code": 200,
"type": "ok"
}
}
]