Apidog Docs
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
HomeLearning Center
Support CenterAPI ReferencesDownloadChangelog
HomeLearning Center
Support CenterAPI ReferencesDownloadChangelog
Discord Community
Slack Community
X / Twitter
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
  1. Branches
  • Apidog Learning Center
  • Getting Started
    • Introduction to Apidog
    • Basic Concepts in Apidog
    • Navigating Apidog
    • Quick Start
      • Overview
      • Creating an Endpoint
      • Making a Request
      • Adding an Assertion
      • Creating Test Scenarios
      • Sharing API Documentation
      • Explore More
    • Migration to Apidog
      • Overview
      • Manual Import
      • Scheduled Import (Bind Data Sources)
      • Import Options
      • Export Data
      • Import From
        • Import from Postman
        • Import OpenAPI Spec
        • Import cURL
        • Import Markdowns
        • Import from Insomnia
        • Import from apiDoc
        • Import .har File
        • Import WSDL
  • Design APIs
    • Overview
    • Create a New API Project
    • Endpoint Basics
    • APl Design Guidelines
    • Module
    • Configure Multiple Request Body Examples
    • Components
    • Common Fields
    • Global Parameters
    • Endpoint Change History
    • Comments
    • Batch Endpoint Management
    • Custom Protocol API
    • Schemas
      • Overview
      • Create a New Schema
      • Build a Schema
      • Generate Schemas from JSON Etc
      • oneOf, allOf, anyOf
      • Using Discriminator
    • Security Schemes
      • Overview
      • Create a Security Scheme
      • Use the Security Scheme
      • Security Scheme in Online Documentation
    • Advanced Features
      • Custom Endpoint Fields
      • Associated Test Scenarios
      • Endpoint Status
      • Appearance of Parameter Lists
      • Endpoint Unique Identification
  • Develop and Debug APIs
    • Overview
    • Generating Requests
    • Sending Requests
    • Debugging Cases
    • Test Cases
    • Dynamic Values
    • Validating Responses
    • Design-First vs Request-First
    • Generating Code
    • Environments & Variables
      • Overview
      • Environment Management
      • Using Variables
    • Vault Secrets
      • Overview
      • HashiCorp Vault
      • Azure Key Vault
      • AWS Secrets Manager
    • Pre and Post Processors
      • Assertion
      • Extract Variable
      • Wait
      • Overview
      • Using Scripts
        • Overview
        • Pre Processor Scripts
        • Post Processor Scripts
        • Public Scripts
        • Postman Scripts Reference
        • Calling Other Programming Languages
        • Using JS Libraries
        • Visualizing Responses
        • Script Examples
          • Assertion Scripts
          • Using Variables
          • Modifying Requests
          • Other Examples
      • Database Operations
        • Overview
        • MySQL
        • MongoDB
        • Redis
        • Oracle Client
    • Dynamic Values Modules
  • Mock API Data
    • Overview
    • Smart Mock
    • Custom Mock
    • Mock Priority Sequence
    • Mock Scripts
    • Cloud Mock
    • Self-Hosted Runner Mock
    • Mock Language (Locales)
  • API Testing
    • Overview
    • Test Scenarios
      • Create a Test Scenario
      • Pass Data Between Requests
      • Flow Control Conditions
      • Sync Data from Endpoints and Endpoint Cases
      • Import Endpoints and Endpoint Cases from Other Projects
      • Export Test Scenarios
    • Run Test Scenarios
      • Run a Test Scenario
      • Run Test Scenarios in Batch
      • Manage Runtime Environment of APIs from Other Projects
      • Data-Driven Testing
      • Scheduled Tasks
    • Test Suite
      • Overview
      • Create A Test Suite
      • Orchestrate Test Suite
      • Run Test Suites Locally
      • Run Test Suites Via CLI
      • Scheduled tasks
    • Test Reports
      • Test Reports
    • Test APIs
      • Integration Testing
      • Performance Testing
      • End-to-End Testing
      • Regression Testing
      • Contract Testing
    • Apidog CLI
      • Overview
      • Installing and Running Apidog CLI
      • Apidog CLI Options
    • CI CD
      • Overview
      • Integrate with Gitlab
      • Integrate with Jenkins
      • Trigger Test by Git Commit
      • Integrate with Github Actions
  • Publish API Docs
    • Overview
    • API Technologies Supported
    • Quick Share
    • Viewing API Documentation
    • Markdown Documentation
    • Publishing Documentation Sites
    • Custom Layouts
    • Custom CSS, JavaScript, HTML
    • Custom Domain
    • LLM-Friendly Features
    • SEO Settings
    • Advanced Settings
      • Documentation Search
      • CORS Proxy
      • Integrating Google Analytics with Doc Sites
      • Folder Tree Settings
      • Visibility Settings
      • Embedding Values in Document URLs
    • API Versions
      • Overview
      • Creating API Versions
      • Publishing API Versions
      • Sharing Endpoints with API Versions
  • Send Requests
    • Overview
    • SSE Debugging
    • MCP Client
    • Socket.IO
    • WebSocket
    • Webhook
    • SOAP or WebService
    • GraphQL
    • gRPC
    • Use Request Proxy Agents for Debugging
    • Create Requests
      • Request History
      • Request Basics
      • Parameters and Body
      • Request Headers
      • Request Settings
      • Debug Requests
      • Saving Requests as Endpoints
      • HTTP/2
    • Response and Cookies
      • Viewing API Responses
      • Managing Cookies
      • Overview
    • Authentication and Authorization
      • Overview
      • CA and Client Certificates
      • Authorization Types
      • Digest Auth
      • OAuth 1.0
      • OAuth 2.0
      • Hawk Authentication
      • Kerberos
      • NTLM
      • Akamai EdgeGrid
  • Branches
    • Overview
    • Creating a Sprint Branch
    • Testing APIs in a Branch
    • Designing APIs in a Branch
    • Merging Sprint Branches
    • Managing Sprint Branches
  • AI Features
    • Overview
    • Enabling AI Features
    • Generating Test Cases
    • Modifying Schemas with AI
    • Endpoint Compliance Check
    • API Documentation Completeness Check
    • AI-Powered Field Naming
    • FAQs
  • Apidog MCP Server
    • Overview
    • Connect Apidog Project to AI
    • Connect Published Documentation to AI
    • Connect OpenAPI Files to AI
  • Best Practices
    • Handling API Signatures
    • Accessing OAuth 2.0 Protected APIs
    • Collaboration Workflow
    • Managing Authentication State
  • Offline Space
    • Overview
  • Administration
    • Onboarding Checklist
      • Basic Concepts
      • Onboarding Guide
    • Managing teams
      • Managing Teams
      • Managing Team Members
      • Member Roles & Permission Settings
      • Team Activities
      • Team Resources
        • General Runner
        • Team Variables
        • Request Proxy Agent
      • Real-time Collaborations
        • Team Collaboration
    • Managing Projects
      • Managing Projects
      • Managing Project Members
      • Notification Settings
      • Project Resources
        • Database Connection
        • Git Connection
    • Managing Organization
      • Managing Organization
      • Single Sign-On (SSO)
        • SSO Overview
        • Configure Microsoft Entra ID
        • Configure Okta
        • Configure SSO for an Organization
        • Managing user accounts
        • Mapping Groups to Teams
      • SCIM Provisioning
        • Intro to SCIM Provisioning
        • Microsoft Entra ID
        • Okta
      • Organization Resources
        • Self-hosted Runner
      • Plans management
        • Billing managers in organization
  • Billing
    • Overview
    • Credits
    • Unable to use credit cards
    • Managing subscriptions
    • Upgrade plan
    • How to move a paid team to a organization
  • Data & Security
    • Apidog data storage location and security
    • User data privacy and storage location
    • Request routing and data security
  • Add-ons
    • API Hub
    • Apidog Intellij IDEA plugin
    • Browser Extension
      • Chrome
      • Microsoft Edge
    • Request Proxy
      • Request proxy in Apidog web
      • Request proxy in shared docs
      • Request proxy in Apidog client
  • Account & preferences
    • Account settings
    • Generate OpenAPI access token
    • Notification
    • Language settings
    • Hot keys
    • Network proxy configuration
    • Data backup
    • Updating Apidog
    • Deleting account
    • Experimental Features
  • References
    • API-Design First Approach
    • Apidog OpenAPI Specificaiton Extensions
    • JSONPath
    • XPath
    • Regular Expressions
    • JSON Schema
    • CSV File Format
    • Install Java Environment
    • Runner deployment environment
    • Apidog flavored Markdown
  • Apidog Europe
    • Apidog Europe
  • Support Center
HomeLearning Center
Support CenterAPI ReferencesDownloadChangelog
HomeLearning Center
Support CenterAPI ReferencesDownloadChangelog
Discord Community
Slack Community
X / Twitter
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
πŸ‡ΊπŸ‡Έ English
  • πŸ‡ΊπŸ‡Έ English
  • πŸ‡―πŸ‡΅ ζ—₯本θͺž
  1. Branches

Designing APIs in a Branch

In a newly created sprint branch, there is no content by default. This approach helps developers focus on the changes needed for the current sprint. You can add resources and make modifications using two main methods.

Choosing Your Approach#

MethodBest ForKey Benefit
Manual ChangesAPI-First developmentClear specification before development
OAS ImportCode-First developmentAutomatic comparison with main branch
Apidog highly recommends the API-First approach (manual changes) for increased efficiency and lower collaboration costs.

Manual Changes#

Manually modifying content within a sprint branch allows you to define your API specifications clearly before diving into development.

Forking Resources from the Main Branch#

When you need to modify existing endpoints, schemas, or response components based on current sprint requirements:
1.
Use Fork from main to create a copy of required resources
2.
All parent folders are automatically imported
3.
Imported resources are marked with association indicators
Forking resources from main branch
Folder hierarchy:
Imported resources with association indicators
Endpoint cases:
Endpoint cases are imported along with endpoints by default and also display association indicators.
Imported endpoint cases

Pulling Latest Changes from Main Branch#

While working in a sprint branch, urgent updates may require changes directly in the main branch. To synchronize:
1.
You'll receive a notification when associated resources in the main branch are updated
Resources discrepancies notification
2.
Click the notification to review changes
3.
Choose whether to pull updates or retain current sprint branch content
Decide on change updates
4.
Select desired content and confirm the update

Creating New Resources#

To create new endpoints, schemas, or response components for the current sprint:
1.
Use the New feature to add resources to the current sprint branch
Creating new resources in sprint branch
2.
If the required parent folder doesn't exist, use:
Select Endpoint Folders: Choose existing folders
New Endpoint Folder: Create new folders

Reordering and Adjusting Folder Contents#

You can perform the same operations on imported or newly created resources as in the main branch:
Drag to reorder:
Reordering folder contents
Imported folders with indicators:
Folders with association indicators
Adjust folder contents:
Adjusting folder contents

Deleting and Restoring Resources#

Sprint branches have a trash feature that works the same as the main branch:
1.
Delete resources as needed
2.
View deleted resources in Trash
3.
Restore resources when needed
Deleting and restoring resources
Repeatedly importing, deleting, and restoring the same main branch resource can lead to unexpected data issues. Minimize these operations to maintain data integrity.

Mocking, Comparing, and Collaborating#

Unique mock addresses:
Endpoints in a sprint branch have unique mock addresses specific to that branch, relying entirely on the current sprint branch's endpoint definitions.
Mocking endpoints
Comparing with main branch:
Compare sprint branch resources with main branch counterparts to identify specific differences.
Comparing resources
Collaboration links:
Share sprint branch endpoints via collaboration links with other project members.
Sharing collaboration links
When clicking a sprint branch endpoint collaboration link while in another branch, the system will prompt you to switch branches. Save any changes in your current branch before switching.

OAS Import#

Import OpenAPI Specification (OAS) files directly into a sprint branch using manual, scheduled, or API import methods.

Importing OAS into Sprint Branch#

1.
Ensure the target branch is selected in the top-left corner
2.
Navigate to Project Settings β†’ Import Data
3.
Import data into the current branch
Importing OAS into sprint branch
Scheduled imports:
For automatic OAS imports, select the target branch when creating the scheduled import.
Scheduling automatic OAS import

Automatic Comparison with Main Branch#

When importing OAS into the sprint branch, the processing logic:
For endpoints:
1.
Compare each endpoint's "Path & Method" in the OAS file with the main branch
2.
If identical: Endpoint won't be imported
3.
If different: Endpoint is associated with main branch and imported
4.
If new: New endpoint is created in sprint branch
For schemas:
1.
Compare schema names in the OAS file with the main branch
2.
If identical: Schema won't be imported
3.
If different: Schema is associated with main branch and imported
4.
If new: New schema is created in sprint branch
Import summary:
After successful import, you'll see an overview of new and modified resources added to the sprint branch.
OAS import logic overview
Resources that are completely unchanged compared to the main branch will not be included in the sprint branch after import, helping developers focus on necessary changes.
Modified atΒ 2026-01-23 07:17:04
Previous
Testing APIs in a Branch
Next
Merging Sprint Branches
Built with