{"id":39107336,"url":"https://github.com/ideacrew/cartafact","last_synced_at":"2026-02-07T17:06:31.142Z","repository":{"id":99225131,"uuid":"319662967","full_name":"ideacrew/cartafact","owner":"ideacrew","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-03T01:20:28.000Z","size":336,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2026-02-03T13:56:31.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ideacrew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-08T14:26:44.000Z","updated_at":"2026-01-29T18:30:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b2440f8-09ce-4580-967e-c4441700dc68","html_url":"https://github.com/ideacrew/cartafact","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ideacrew/cartafact","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideacrew%2Fcartafact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideacrew%2Fcartafact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideacrew%2Fcartafact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideacrew%2Fcartafact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ideacrew","download_url":"https://codeload.github.com/ideacrew/cartafact/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideacrew%2Fcartafact/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29200844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-17T19:32:30.633Z","updated_at":"2026-02-07T17:06:31.125Z","avatar_url":"https://github.com/ideacrew.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What Cartafact is -\n\nThis is a micro service that you can use to store/retreive/search documents.\n\n## Headers\n\n###### Parameters:\n\n**X-RequestingIdentity -\n\nThis is the requesting identity JSON, Base64 encoded.\n\n**JSON structure -\n\n```\n  {\n    authorized_identity: {\n      user_id: \"string\",\n      system: \"string\"\n    },\n    authorized_subjects: [{\n      type: \"string\",\n      id: \"string\"\n    }]\n  }\n```\n\n**X-RequestingIdentitySignature -\n\nSignature of the requesting identity information. To calculate this, take the X-RequestingIdentity header, HMAC-SHA256 it using the secret corresponding to your application, and then Base64 encode the result.\n\n**Payload\n\n```\npayload = {\n  authorized_identity: {\n    user_id: \"string\",\n    system: \"string\"\n  },\n  authorized_subjects: [{\n    type: \"string\",\n    id: \"string\"\n  }]\n}\n\nencoded_identity = Base64.strict_encode64(payload.to_json)\n\nheaders: {\n  'HTTP-X-REQUESTINGIDENTITY' =\u003e encoded_identity,\n  'HTTP-X-REQUESTINGIDENTITYSIGNATURE' =\u003e Base64.strict_encode64(OpenSSL::HMAC.digest(\"SHA256\", your application secret key, encoded_identity))\n}\n```\n\n## Store a new document:\n\nPOST /api​/v1​/documents\n\n\n```\nbody: {\n  document: {\n    subjects: [{\n      id: string,\n      type: string\n    }],\n    document_type: string\n  }.to_json,\n  content: 'uploaded file content here', # Required.\n  creator: string,                       # Required.\n  publisher: string,                     # Required.\n  type: string,                          # Required.\n  format: string,                        # Required.\n  source: string,                        # Required.\n  language: string,                      # Required.\n  date_submitted: date,                  # Required.\n  title: string,                         # Optional.\n  identifier: string,                    # Optional.\n  description: string,                   # Optional.\n  contributor: string,                   # Optional.\n  created: date,                         # Optional.\n  date_accepted: date,                   # Optional.\n  expire: date,                          # Optional.\n  relation: string,                      # Optional.\n  coverage: string,                      # Optional.\n  tags: string,                          # Optional.\n  rights: string,                        # Optional.\n  access_rights: string,                 # Optional.\n  extent: string,                        # Optional.\n  file_data: string,                     # Optional.\n}\n```\n\n## Download document:\n\nGET /api​/v1​/documents/:id/download\n\n###### Parameters:\n\n```\nid: string # Required.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fideacrew%2Fcartafact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fideacrew%2Fcartafact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fideacrew%2Fcartafact/lists"}