Find Jobs
Hire Freelancers

Create new API endpoint for index of all media -- 2

$10-30 USD

完了済み
投稿日: 5年以上前

$10-30 USD

完了時にお支払い
Create new API endpoint for index of all media The route should be: GET /connect-app/contact-media The returned payload should be a list of documents with a resident_id, message_id, and content_type fields. These three fields are what is required to call the recently created route to get media. To get this information, use the email in the email header to search for all residents with a contact that has that email address. Then use the “media_messages_by_resident_id” view to get the resident_id, message_id, and content_type information for each media message. Finally, return the list of documents retrieved from the view. Make sure that the final format of the payload looks like this: [ { "content_type": "image/jpeg", "message_id": "5c6cc6ba540431014f2d4dd747e98099", "resident_id": "008de87b-dd86-0737-93ec-96db1e2e2127" }, { "content_type": "image/jpeg", "message_id": "6e891a924c95cc71be97c099b654b142", "resident_id": "008de87b-dd86-0737-93ec-96db1e2e2127" }, { "content_type": "video/3gpp", "message_id": "e6d9a1e5d9933d8c566e6335d475788c", "resident_id": "02d2db5a-1a4d-2245-2018-be18d4614891" } ] Here is an example of the view request in QA. The authorization is just the olympusqa credentials using basic auth. curl -X GET \ '[login to view URL][%2202d2db5a-1a4d-2245-2018-be18d4614891%22,%22008de87b-dd86-0737-93ec-96db1e2e2127%22]' \ -H 'Authorization: Basic b2x5bXB1c3FhOiR6Kko3UVpXQDM4NkJxOEJrY3I3' The SyncGatewayService in Connect-API already has a getView function that you can use. [login to view URL] is an example of calling a view. You will need to pass the “keys” (plural) query parameter instead of “key” as this example uses. Set the “keys” parameter to the list of resident IDs.
プロジェクト ID: 18719122

プロジェクトについて

7個の提案
リモートプロジェクト
アクティブ 5年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Hello Sir . i am web developer. I can develop this api. I can show you my previous api that i developed for payment gateway. Thanks.
$25 USD 1日以内
0.0 (0 レビュー)
0.0
0.0
この仕事に7人のフリーランサーが、平均$24 USDで入札しています
ユーザーアバター
i have four year experience in angualrjs nodejs python rest api , cakephp, laravel, mysql javascript, I have developed applications for the following industries: + Social Networking + Food delivery + Taxi Applications, GPS tracking, on-demand ride sharing + Chat and messaging + Live Streaming Solutions + Augmented Reality + Online Medical service portals + Music and entertainment + Cryptocurrency + Mobile wallet My Strengths and Skills: Native Mobile Platforms:- Swift(iOS) / Kotlin (Android) Backend:- Nodejs / AWS Lambda Database:- Firebase / MongoDB Media... more
$25 USD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
I worked on a lot of similar projects. I am available immediately. We can talk about the details if you want
$35 USD 2日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

ROMANIAのフラグ
ploiesti, Romania
4.9
170
メンバー登録日:2月 11, 2013

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。