Skip to content

Instantly share code, notes, and snippets.

View f0-x's full-sized avatar
:bowtie:

Sushant Rajbanshi f0-x

:bowtie:
View GitHub Profile
{
"caseid":"2.2.5f7ca.7700019c",
"hasDocument":[
{
"name":"DocumentName",
"content":{
"name":"filename.png",
"type":"image/png",
"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAGUExURRQUFPz8/MfnkvoAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABNSURBVBjTY/gPBNiJ/SCi/wOQOP4RSBx+DCQeg4iHx4HERxDxox9EyAOJP2DCHsYCi4FlP/bDFD8+DDPl+EOQySBD+3/8x+OC////AwCmRnVM8SVkvQAAAABJRU5ErkJggg=="
}
@f0-x
f0-x / updateFilmmakerAwards.txt
Created January 9, 2023 03:52
POST : updateFilmmakerAwards
POST API Request Schema
{
caseId: string // required: true, detail: Filmmaker/Member's id
hasAwards: [
{
id: string //required: true, detail: Unique id of the award
rank: string // required: true, detail: One of the enum Ranks { "Winner", "Shortlisted", "Nominee", "Other"}
filmTitle: string // required: true, detail: Title of the film/movie
awardTitle: string // required: true, detail: Title of the specific award
@f0-x
f0-x / updateFilmmakerFilmography.txt
Last active January 9, 2023 04:06
POST: updateFilmmakerFilmography
POST API Request Schema
{
caseId: string // required: true, detail: Filmmaker/Member's id
hasFilms: [
{
id: string // required: true, detail: Unique id of the Film instance
name: string // required: true, detail: Title of the film
primaryGenre: string // required: true, detail: Primary Genre of the film
secondaryGenre: string // required: true, detail: Secondary Genre of the film
@f0-x
f0-x / single_member_response.json
Last active April 28, 2023 08:08
GET : api/centerframe/v1/members/<member-id>
{
"id": "2.0.5fdfb.220c24d0",
"isRepresentedByPhoto": {
"id": "2.0.5f7ca.77004787",
"name": "example-x.png",
"type": "image/png",
"content": "2.2.5f7ca.7700018a",
"size": 1000
},
"firstName": "All",
@f0-x
f0-x / single_project_schema.json
Last active March 28, 2023 04:31
GET : /api/centerframe/v1/projects/<project-id>
{
"id": "2.2.5db3b.e300000e",
"title": "A Confession",
"created": "2022-07-18T13:52:37",
"synopsis": "Synopsis: After many years of intensive research, a young man thinks he has finally found the priest he has wanted to confront since his childhood. He now wishes to confess a terrible sin. What he reveals to the warm-hearted priest resonates way beyond the confines of the Church - calling into question a relationship that has lasted over 1500 years.",
"genre": "Drama",
"projectStatus": "Production",
"logLine": "string",
"category": "short film",
"year": "2015",
@f0-x
f0-x / global_search_response.json
Last active January 25, 2023 03:50
GET : /api/centerframe/v1/globalsearch?text="<keyword>"
{
"results": [
"An Array of Centerframe Project object"
],
"members": [
"An Array of Centerframe Filmmaker/Member objects related to search keyword"
],
"projects": [
"An Array of Project Objects related to the search keyword"
],
@f0-x
f0-x / all_films_response.json
Last active February 25, 2023 03:51
GET : /api/centerframe/v1/films
[
{
"id": "Unique identifier of the Centerframe Film object",
"title": "Title of the film object",
"created": "2022-07-18T13:52:37",
"synopsis": "string",
"primaryGenre": "string",
"secondaryGenre": "string",
"category": "string",
"year": 1999,
@f0-x
f0-x / get_video_channels_response.json
Last active January 13, 2023 06:09
GET : /api/centerframe/v1/videochannels
[
{
"id": "Unique identifier of the video channel",
"name": "Title of the video channel",
"created": "2022-07-18T13:52:37",
"subject": "A short description on what the video channel is about ?",
"synopsis": "Synopsis: After many years of intensive research, a young man thinks he has finally found the priest he has wanted to confront since his childhood. He now wishes to confess a terrible sin. What he reveals to the warm-hearted priest resonates way beyond the confines of the Church - calling into question a relationship that has lasted over 1500 years.",
"hasEpisodes": [
{
"id": "2.2.5db3b.e3000019",
@f0-x
f0-x / my_dashboard_response.json
Last active January 25, 2023 04:29
GET : api/centerframe/v1/mydashboard
{
"id": "2.0.5fdfb.220d2824",
"hasFollowers": [
{
"id": "2.0.23fsefs32.2342",
"username": "john_doe",
"followedAt": "2022-07-18T13:52:37",
"isRepresentedByPhoto": {
"id": "2.0.5f7ca.77004787",
"name": "example-x.png",
@f0-x
f0-x / feedback-rooms-response.json
Last active March 30, 2023 06:36
GET: /feedback-rooms
[
{
"id": "1.0.61240.1025aec",
"title": "Memorial - Test Draft",
"category": "Category of the Feedback Room",
"created": "2023-01-17T08:56:44Z",
"projectId": "1.0.61240.1025afb",
"projectTitle": "project 2154",
"projectSynopsis": "Synopsis of the project",
"description": "Description of the Feedback Room",