---
title: "Make"
description: "ވެބްހޫކް އަދި REST API އާއެކު ޤުއަރޭ Make އާ ގުޅުވާށެވެ."
image: "https://docs.quirelms.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.quirelms.com/dv/llms.txt
> Use this file to discover all available pages before exploring further.

# Make

<span id="make"></span>

Make އިން އޭގެ އަމިއްލަ HTTP އަދި webhook މޮޑިއުލްތަކާއެކު REST API އަދި webhook މެދުވެރިކޮށް ޤުއަރޭއާ ގުޅެއެވެ. [API reference](https://docs.quirelms.com/api/) ގައިވާ ހުރިހާ ކަމެއް ލިބެއެވެ.

## ޤުއަރޭ އިވެންޓަކުން ސިނާރިއޯ ފަށުވުން <!--quire:start-a-scenario-from-a-quire-event-->

1. **Webhooks** module ގައި **Custom webhook** ފުރަތަމަ module ގޮތުގައި އިތުރުކޮށް، އެޑްރެސް ކޮޕީކުރާށެވެ.
2. ޤުއަރޭގައި `/admin/webhooks` ހުޅުވައި **Add subscription** ހޮވާ، އެޑްރެސް ޕޭސްޓްކޮށް އިވެންޓުތައް ހޮވާށެވެ. ޤުއަރޭގެ ޓެސްޓް އިވެންޓުން Make ބޮޑީގެ ހައިކަލް ދަސްކުރެއެވެ؛ އެއީ ފޮނުވާ ވަގުތު module އެއް ފަހަރު ހިންގާށެވެ.
3. ކަމެއް ކުރާ ކުރިން signature ވެރިފައިކުރާށެވެ. webhook ގެ advanced settings ގައި headers ފާސްކޮށް، `webhook-signature` އަކީ `{webhook-id}.{webhook-timestamp}.{body}` އާ subscription secret އިން ވެރިފައިކުރާށެވެ، [developer guide](/dv/developer/#webhooks) ގައި ބުނިފަދައިން. ޗެކެއް ފޭލްވާއިރު ސިނާރިއޯ ހުއްޓާ ފިލްޓަރެއް އިތުރުކުރާށެވެ.

## ސިނާރިއޯއަކުން ޤުއަރޭ ކޯލްކުރުން <!--quire:call-quire-from-a-scenario-->

**HTTP** module ގެ **Make a request** ބޭނުންކުރާށެވެ:

| ފީލްޑް | އަގު |
| --- | --- |
| URL | `https://acme.quirelms.com/api/v1/<resource>` |
| Method | API reference އިން އެންގިފަދަ |
| Headers | `Authorization: Bearer qk_live_...`، ލިޔުމަށް `Idempotency-Key` |
| Body type | Raw، JSON |
| Parse response | އާނ |

Make އަށް އެކަނި `/admin/integrations/api-keys` ގައި ކީއެއް ހަދާ، ސިނާރިއޯ އަށް ބޭނުންވާ scope އެކަނި ދޭށެވެ. ލިސްޓްތަކަށް `page.has_more` true ވާހާލު ލޫޕްކޮށް، `page.next_cursor` އަކީ `cursor` ކަމަށް ފޮނުވާށެވެ؛ Make **Repeater** އާއި cursor ބެހެއްޓޭ **Set variable** އިން މިކަން ކުރެވެއެވެ.

މީހަކުގެ ފަރުވާގައި ހިންގާނެ ސިނާރިއޯތަކަށް، `/admin/integrations/oauth-clients` ގައި OAuth client ރަޖިސްޓަރކޮށް، Make **HTTP** module ގެ **Make an OAuth 2.0 request** އެއާއެކު ބޭނުންކުރާށެވެ.

## މިސާލު: ހަފްތާއަކުން ނިމުން ޚުލާޞާ <!--quire:example-weekly-completion-digest-->

1. **Schedule**: ކޮންމެ ހޯމައަކު.
2. **HTTP**: `GET /api/v1/course_completions?updated_since=<a week ago>`.
3. `data` އަށް **Iterator**، ޓޭބަލަކަށް **Aggregator**.
4. ޓޭބަލް އީމެއިލްކުރާ ނުވަތަ ޕޯސްޓްކުރާށެވެ.

Source: https://docs.quirelms.com/dv/integrations/make/index.mdx
