{"id":15426158,"url":"https://github.com/cryptaliagy/fsa-svc","last_synced_at":"2025-04-04T16:41:43.637Z","repository":{"id":130254207,"uuid":"333967340","full_name":"cryptaliagy/fsa-svc","owner":"cryptaliagy","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-29T00:12:02.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T02:14:32.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/cryptaliagy.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}},"created_at":"2021-01-28T21:59:51.000Z","updated_at":"2021-01-29T00:12:05.000Z","dependencies_parsed_at":"2023-07-20T18:01:15.222Z","dependency_job_id":null,"html_url":"https://github.com/cryptaliagy/fsa-svc","commit_stats":null,"previous_names":["cryptaliagy/fsa-svc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-svc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-svc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-svc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptaliagy%2Ffsa-svc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptaliagy","download_url":"https://codeload.github.com/cryptaliagy/fsa-svc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247214150,"owners_count":20902729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-01T17:55:02.058Z","updated_at":"2025-04-04T16:41:43.614Z","avatar_url":"https://github.com/cryptaliagy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fsa-svc\n\nProject generated with [krait](http://tlia.ca/krait)\n\nSmall flask app, wrapping [pyfsa](http://tlia.ca/fsa) to provide the file generation functionality through a web api.\n\n## Calling the API\n\nTo generate a graph, send a CSV string (with spaces instead of newlines to separate between the values) in the same form as [fsa-bot](http://tlia.ca/fsa-bot) requires in the json body. This is the only thing you require- but you can also specify a start, end, and engine.\n\nExample payloads:\n\n```json\n{'transitions': 'a,x,y b,x,y'}\n{\n    'transitions': 'a,x,y b,x,y',\n    'start': 'x',\n    'end': 'y',\n    'engine': 'dot'\n}\n```\n\n\nMake sure to add the 'Content-Type: application/json' header to the request, otherwise you might get an error.\n\nFor an example graph, use this bash command:\n\n```bash\n$ curl -H 'Content-Type: application/json' -d '{\"transitions\": \"a,x,y b,y,x\"}' https://fsa-svc-r3k4irmcka-nn.a.run.app -o file.png\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptaliagy%2Ffsa-svc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptaliagy%2Ffsa-svc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptaliagy%2Ffsa-svc/lists"}