Find Jobs
Hire Freelancers

Simple Python Rest api code

$10-11 USD

완료함
게시됨 4년 이상 전

$10-11 USD

제출할때 지불됩니다
i have simple python rest api code need to update this 5 endpoints Very simple crude operations ### Endpoints Your application **MUST** conform to the following endpoint structure and return the HTTP status codes appropriate to each operation. Following are the endpoints that should be implemented: | Name | Method | URL | --- | --- | --- | List | `GET` | `/configs` | Create | `POST` | `/configs` | Get | `GET` | `/configs/{name}` | Update | `PUT/PATCH` | `/configs/{name}` | Delete | `DELETE` | `/configs/{name}` | Query | `GET` | `/search?metadata.key=value` #### Query The query endpoint **MUST** return all configs that satisfy the query argument. Query example-1: ```sh curl http://config-service/search?metadata.monitoring.enabled=true ``` Response example: ```json [ { "name": "datacenter-1", "metadata": { "monitoring": { "enabled": "true" }, "limits": { "cpu": { "enabled": "false", "value": "300m" } } } }, { "name": "datacenter-2", "metadata": { "monitoring": { "enabled": "true" }, "limits": { "cpu": { "enabled": "true", "value": "250m" } } } }, ] ``` Query example-2: ```sh curl http://config-service/search?metadata.limits.cpu.enabled=true ``` Response example-2: ```json [ { "name": "datacenter-2", "metadata": { "monitoring": { "enabled": "true" }, "limits": { "cpu": { "enabled": "true", "value": "250m" } } } } ] ``` #### Schema - **Config** - Name (string) - Metadata (nested key:value pairs where both key and value are strings of arbitrary length) ### Configuration Your application **MUST** serve the API on the port defined by the environment variable `SERVE_PORT`. The application **MUST** fail if the environment variable is not defined.
프로젝트 ID: 22677261

프로젝트 정보

2 제안서
원격근무 프로젝트
활동 중 4년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
Dear client I am familiar with python projects. In particular, ML and predict trading is my top skill. I am sure I can finish your project perfectly as you want. I will do your job with better budget and I will finish task very quickly. Hope to give me the chance to service for you. I will do my best for you in the future if you award me. Thanks
$10 USD 6일에
0.0 (0 건의 리뷰)
0.0
0.0
2 이 프로젝트에 프리랜서들의 평균 입찰은 $10 USD입니다.
사용자 아바타
Hello, my name is Italo, i am Flask developer (python) and can make your API. Call me so we can discuss better.
$10 USD 7일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (SRI LANKA)
Colombo, Sri Lanka
0.0
0
결제 수단 확인
12월 1, 2015부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.