api-gateway
VerifiedCall third-party APIs through the Maton gateway, which injects the credential for an app the user has already connected. Use this skill when the user names a connected app and a concrete action in it - read a mailbox, query a CRM, file an issue, update a spreadsheet, run a query through a connected search or scraping provider. Every call goes to an app the user connected. It is not a general-purpose browser or network client, and it cannot reach a service with no Maton connection. It also manages event triggers, webhook destinations that forward event payloads to an external URL until deleted, and local `--exec` handlers that run a script per event - separate, high-risk capabilities beyond a normal API call. Default to read and list calls; every write, connection, trigger, destination, or handler needs explicit user confirmation.
references/firebase/README.md
View on GitHub# Firebase
## API Reference
> **Safety:** All write operations (POST, PUT, PATCH, DELETE) require explicit user confirmation before execution. Verify the target resource and intended effect with the user first. See the main [SKILL.md](../../SKILL.md#security--permissions) for full security policy.
**App name:** `firebase`
**Upstream base URL:** `firebase.googleapis.com`
Replace the upstream base URL with the app name. Everything after the base URL including query strings is kept as-is. Any account-specific part of the base URL and the API credentials are stored in the Maton connection, and the gateway injects both so requests never carry them. For example:
- Upstream: `https://firebase.googleapis.com/v1beta1/projects`
- Gateway: `https://api.maton.ai/firebase/v1beta1/projects`
### Project API
#### List Projects
List all Firebase projects accessible to the authenticated user.
```bash
maton api '/firebase/v1beta1/projects'
```
**Response:**
```json
{
"results": [
{
"projectId": "my-firebase-project",
"projectNumber": "123456789",
"displayName": "My Firebase Project",
"name": "projects/my-firebase-project",
"resources": {
"hostingSite": "my-firebase-project"
},
"state": "ACTIVE",
"etag": "1_bc06d94f-cf77-4689-be01-576702b23f6a"
}
]
}
```
#### Get Project
```bash
maton api '/firebase/v1beta1/projects/{projectId}'
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Update Project
```bash
maton api -X PATCH '/firebase/v1beta1/projects/{projectId}' \
-H 'Content-Type: application/json' \
--input - <<'EOF'
{
"displayName": "Updated Project Name"
}
EOF
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### List Available Projects
List Google Cloud projects that can have Firebase added.
```bash
maton api '/firebase/v1beta1/availableProjects'
```
#### Add Firebase to Project
Add Firebase services to an existing Google Cloud project.
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}:addFirebase' -H 'Content-Type: application/json' --input - <<'JSON'
{}
JSON
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
This returns a long-running operation. Check the operation status with:
```bash
maton api '/firebase/v1beta1/operations/{operationId}'
```
**Note:** `{operationId}` is a placeholder. Replace it with a real value before sending the request.
#### Get Admin SDK Config
```bash
maton api '/firebase/v1beta1/projects/{projectId}/adminSdkConfig'
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
### Web App API
#### List Web Apps
```bash
maton api '/firebase/v1beta1/projects/{projectId}/webApps'
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Get Web App
```bash
maton api '/firebase/v1beta1/projects/{projectId}/webApps/{appId}'
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Create Web App
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/webApps' -H 'Content-Type: application/json' --input - <<'JSON'
{
"displayName": "My Web App"
}
JSON
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Update Web App
```bash
maton api -X PATCH '/firebase/v1beta1/projects/{projectId}/webApps/{appId}?updateMask=displayName' -H 'Content-Type: application/json' --input - <<'JSON'
{
"displayName": "Updated Web App Name"
}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Get Web App Config
```bash
maton api '/firebase/v1beta1/projects/{projectId}/webApps/{appId}/config'
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
**Response:**
```json
{
"projectId": "my-firebase-project",
"appId": "1:123456789:web:abc123",
"apiKey": "AIzaSy...",
"authDomain": "my-firebase-project.firebaseapp.com",
"storageBucket": "my-firebase-project.firebasestorage.app",
"messagingSenderId": "123456789",
"measurementId": "G-XXXXXXXXXX",
"projectNumber": "123456789"
}
```
#### Delete Web App
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/webApps/{appId}:remove' -H 'Content-Type: application/json' --input - <<'JSON'
{
"immediate": true
}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Undelete Web App
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/webApps/{appId}:undelete' -H 'Content-Type: application/json' --input - <<'JSON'
{}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
### Android App API
#### List Android Apps
```bash
maton api '/firebase/v1beta1/projects/{projectId}/androidApps'
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Get Android App
```bash
maton api '/firebase/v1beta1/projects/{projectId}/androidApps/{appId}'
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Create Android App
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/androidApps' -H 'Content-Type: application/json' --input - <<'JSON'
{
"displayName": "My Android App",
"packageName": "com.example.myapp"
}
JSON
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Update Android App
```bash
maton api -X PATCH '/firebase/v1beta1/projects/{projectId}/androidApps/{appId}?updateMask=displayName' -H 'Content-Type: application/json' --input - <<'JSON'
{
"displayName": "Updated Android App Name"
}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Get Android App Config
Returns the google-services.json configuration.
```bash
maton api '/firebase/v1beta1/projects/{projectId}/androidApps/{appId}/config'
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Delete Android App
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/androidApps/{appId}:remove' -H 'Content-Type: application/json' --input - <<'JSON'
{
"immediate": true
}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### List SHA Certificates
```bash
maton api '/firebase/v1beta1/projects/{projectId}/androidApps/{appId}/sha'
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Add SHA Certificate
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/androidApps/{appId}/sha' -H 'Content-Type: application/json' --input - <<'JSON'
{
"shaHash": "1234567890ABCDEF1234567890ABCDEF12345678",
"certType": "SHA_1"
}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Delete SHA Certificate
```bash
maton api '/firebase/v1beta1/projects/{projectId}/androidApps/{appId}/sha/{shaId}' -X DELETE
```
**Note:** `{projectId}`, `{appId}` and `{shaId}` are placeholders. Replace each of them with real values before sending the request.
### iOS App API
#### List iOS Apps
```bash
maton api '/firebase/v1beta1/projects/{projectId}/iosApps'
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Get iOS App
```bash
maton api '/firebase/v1beta1/projects/{projectId}/iosApps/{appId}'
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Create iOS App
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/iosApps' -H 'Content-Type: application/json' --input - <<'JSON'
{
"displayName": "My iOS App",
"bundleId": "com.example.myapp"
}
JSON
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Update iOS App
```bash
maton api -X PATCH '/firebase/v1beta1/projects/{projectId}/iosApps/{appId}?updateMask=displayName' -H 'Content-Type: application/json' --input - <<'JSON'
{
"displayName": "Updated iOS App Name"
}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Get iOS App Config
Returns the `GoogleService-Info` iOS configuration file.
```bash
maton api '/firebase/v1beta1/projects/{projectId}/iosApps/{appId}/config'
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
#### Delete iOS App
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}/iosApps/{appId}:remove' -H 'Content-Type: application/json' --input - <<'JSON'
{
"immediate": true
}
JSON
```
**Note:** `{projectId}` and `{appId}` are placeholders. Replace each of them with real values before sending the request.
### Google Analytics API
#### Get Analytics Details
```bash
maton api '/firebase/v1beta1/projects/{projectId}/analyticsDetails'
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Add Google Analytics
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}:addGoogleAnalytics' -H 'Content-Type: application/json' --input - <<'JSON'
{
"analyticsAccountId": "123456789"
}
JSON
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
#### Remove Google Analytics
```bash
maton api -X POST '/firebase/v1beta1/projects/{projectId}:removeAnalytics' -H 'Content-Type: application/json' --input - <<'JSON'
{
"analyticsPropertyId": "properties/123456789"
}
JSON
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
### Available Locations API
#### List Available Locations
```bash
maton api '/firebase/v1beta1/projects/{projectId}/availableLocations'
```
**Note:** `{projectId}` is a placeholder. Replace it with a real value before sending the request.
### Notes
- Project IDs are globally unique identifiers for Firebase projects
- App IDs follow the format `1:PROJECT_NUMBER:PLATFORM:HASH`
- Create operations are asynchronous and return an Operation object
- Deleted apps can be restored within 30 days using the undelete endpoint
- Use `availableProjects` to list GCP projects that can have Firebase added
### Resources
- [Firebase Management API Overview](https://firebase.google.com/docs/projects/api/workflow_set-up-and-manage-project)
- [Firebase Management REST API Reference](https://firebase.google.com/docs/reference/firebase-management/rest)
- [Projects Resource](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects)
- [Web Apps Resource](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps)
- [Android Apps Resource](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.androidApps)
- [iOS Apps Resource](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.iosApps)
- [Maton CLI Manual](https://cli.maton.ai/manual)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |