Skip to content

Comments

update prompt to generate MakeApiCall #944

Merged
vtalas merged 1 commit intoAppmixer-ai:devfrom
jirihofman:make-api-call-prompt-update
Jan 28, 2026
Merged

update prompt to generate MakeApiCall #944
vtalas merged 1 commit intoAppmixer-ai:devfrom
jirihofman:make-api-call-prompt-update

Conversation

@jirihofman
Copy link
Contributor

Improve the prompt that will help us later.

Changes Made

  1. Added prerequisite to review connector structure - New step to examine auth.js, quota.js, lib.js, and service.json before creating the component

  2. Clarified naming convention - Added guidance on the MakeApiCall vs MakeAPICall naming inconsistency, recommending MakeApiCall for new components

  3. Updated component.json attribute order - Listed the correct order: name, author, description, version, private, auth, quota, inPorts, outPorts, icon

  4. Added version field - The template now includes "version": "1.0.0" which was missing

  5. Removed default from schema - The default value should only be in inspector's defaultValue, not in schema

  6. Added notes section for component.json - Detailed guidance on auth.service, auth.scope, quota, icon, and tooltip formatting

  7. Updated MakeApiCall.js patterns -

    • Added required field validation with throw new context.CancelError(...)
    • Added code style rules (4-space indentation, empty lines, strict mode)
    • Provided 4 distinct patterns: Full URL OAuth2, Full URL with Version Header, Relative URL, API Key auth
    • Added more detailed comments
  8. Improved API-Specific Considerations - Converted to tables for easier reference

  9. Updated Examples Reference - Converted to a table with locations and key features

  10. Enhanced Validation Checklist - More comprehensive checklist aligned with standards

  11. Added Post-Creation Steps - Clear instructions for bundle.json update and verification

  12. Added Success Criteria - Checklist format for verifying completion

@jirihofman jirihofman requested a review from vtalas January 28, 2026 12:17
@jirihofman jirihofman self-assigned this Jan 28, 2026
@vtalas vtalas merged commit bb4b305 into Appmixer-ai:dev Jan 28, 2026
1 of 2 checks passed
@jirihofman jirihofman deleted the make-api-call-prompt-update branch January 28, 2026 12:36
jirihofman added a commit to jirihofman/appmixer-connectors that referenced this pull request Jan 28, 2026
…Convex APIs (Appmixer-ai#944)

- Implemented MakeApiCall.js for Axiom and Convex with error handling and request validation.
- Created component.json for both Axiom and Convex MakeApiCall components with input/output specifications.
- Updated bundle.json for Axiom and Convex to include changelog entries for the new component.
- Added prompts for testing components with CLI, enhancing user guidance for API interactions.
jirihofman added a commit that referenced this pull request Feb 10, 2026
…Convex APIs (#944) (#946)

- Implemented MakeApiCall.js for Axiom and Convex with error handling and request validation.
- Created component.json for both Axiom and Convex MakeApiCall components with input/output specifications.
- Updated bundle.json for Axiom and Convex to include changelog entries for the new component.
- Added prompts for testing components with CLI, enhancing user guidance for API interactions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants