{"id":19166516,"url":"https://github.com/teltek/pumukitexternalapibundle","last_synced_at":"2026-02-26T21:06:02.890Z","repository":{"id":229770460,"uuid":"753486268","full_name":"teltek/PumukitExternalAPIBundle","owner":"teltek","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-24T11:00:50.000Z","size":732,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-04T02:50:23.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teltek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-06T08:10:22.000Z","updated_at":"2025-02-24T11:00:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ad5ed99-7863-44d3-b42f-8616a20f5463","html_url":"https://github.com/teltek/PumukitExternalAPIBundle","commit_stats":null,"previous_names":["teltek/pumukitexternalapibundle"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/teltek/PumukitExternalAPIBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teltek%2FPumukitExternalAPIBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teltek%2FPumukitExternalAPIBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teltek%2FPumukitExternalAPIBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teltek%2FPumukitExternalAPIBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teltek","download_url":"https://codeload.github.com/teltek/PumukitExternalAPIBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teltek%2FPumukitExternalAPIBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29809336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T22:43:48.403Z","status":"online","status_checked_at":"2026-02-25T02:00:07.329Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T09:33:26.084Z","updated_at":"2026-02-26T21:06:02.859Z","avatar_url":"https://github.com/teltek.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"ExternalAPIBundle\n=================\n\nWARNING: We cannot guarantee that this module is compatible with new versions of PuMuKIT.\n\nThis package allow to interact with PuMuKIT through an external API. It is a RESTful API that allows to create and update Multimedia Objects.\n\nAPI Examples using curl:\n\n##### New media package\n```\ncurl -X POST -f -i --basic -u admin:admin http://localhost:8000/app_dev.php/api/ingest/createMediaPackage\n```\n\n##### Add attachment without override\n```\ncurl -X POST -i --basic -u admin:admin http://localhost:8000/app_dev.php/api/ingest/addAttachment -F 'mediaPackage=\"\u003cmediapackage id=\\\"5c982e5339d98b25008b456a\\\" start=\\\"2019-03-25T01:26:43Z\\\"\u003e\u003c/mediapackage\u003e\"' -F 'flavor=\"srt\"' -F BODY=@Resources/data/Tests/Controller/IngestControllerTest/subtitle.srt\n```\n\n##### Add attachment overriding attachment\n```\ncurl -X POST -i --basic -u admin:admin http://localhost:8000/app_dev.php/api/ingest/addAttachment -F 'mediaPackage=\"\u003cmediapackage id=\\\"5c982e5339d98b25008b456a\\\" start=\\\"2019-03-25T01:26:43Z\\\"\u003e\u003c/mediapackage\u003e\"' -F 'flavor=\"srt\"' -F BODY=@Resources/data/Tests/Controller/IngestControllerTest/subtitle.srt -F 'overriding=\"5c982e5339d98b25008b456a\"'\n```\n\n##### Add track\n```\ncurl -X POST -i --basic -u admin:admin http://localhost:8000/app_dev.php/api/ingest/addTrack -F 'mediaPackage=\"\u003cmediapackage id=\\\"5c982e5339d98b25008b456a\\\" start=\\\"2019-03-25T01:26:43Z\\\"\u003e\u003c/mediapackage\u003e\"' -F 'flavor=\"presenter/source\"' -F BODY=@Resources/data/Tests/Controller/IngestControllerTest/presenter.mp4\n```\n\n##### Add episode (to change title)\n```\ncurl -X POST -i --basic -u admin:admin http://localhost:8000/app_dev.php/api/ingest/addDCCatalog -F 'mediaPackage=\"\u003cmediapackage id=\\\"5c982e5339d98b25008b456a\\\" start=\\\"2019-03-25T01:26:43Z\\\"\u003e\u003c/mediapackage\u003e\"' -F 'flavor=\"dublincore/episode\"' -F BODY=@Resources/data/Tests/Controller/IngestControllerTest/episode.xml\n```\n\n##### Add PuMuKIT episode (to change metadata)\n```\ncurl -X POST -i --basic -u admin:admin http://localhost:8000/app_dev.php/api/ingest/addCatalog -F 'mediaPackage=\"\u003cmediapackage id=\\\"5c982e5339d98b25008b456a\\\" start=\\\"2019-03-25T01:26:43Z\\\"\u003e\u003c/mediapackage\u003e\"' -F 'flavor=\"pumukit/episode\"' -F BODY=@Resources/data/Tests/Controller/IngestControllerTest/pmk.json\n```\n\n##### addMediaPackage (do previous ones simultaneously):\n```\ncurl -X POST -f -i --basic -u admin:admin http://localhost:8000/app_dev.php/api/ingest/addMediaPackage -F contributor='test CURL' -F title='Test CURL' -F 'flavor[]=presentation/source' -F 'BODY[]=@Resources/data/Tests/Controller/IngestControllerTest/presentation.mp4' -F 'flavor[]=presenter/source' -F 'BODY[]=@Resources/data/Tests/Controller/IngestControllerTest/presenter.mp4'\n```\n\nAPI DELETE Examples using curl\n##### removeTag: ( Remove the custom tag configured for external api )\n```\ncurl -X DELETE -i --basic -u admin:admin https://localhost:8000/app_dev.php/api/mmobjs/5c982e5339d98b25008b456a/tags/cod/CUSTOM_TAG\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteltek%2Fpumukitexternalapibundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteltek%2Fpumukitexternalapibundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteltek%2Fpumukitexternalapibundle/lists"}