Skip to content

feat: initial content api endpoints#59

Merged
notnmeyer merged 12 commits intomainfrom
chore/content-api
Apr 23, 2026
Merged

feat: initial content api endpoints#59
notnmeyer merged 12 commits intomainfrom
chore/content-api

Conversation

@notnmeyer
Copy link
Copy Markdown
Member

@notnmeyer notnmeyer commented Apr 22, 2026

adds the initial content api endpoints. they're feature flagged by team and so folks will get a 401 (and soon a message about requesting access).

➜ task -- campaigns -h

  Manage campaigns

  USAGE


    loops campaigns [command] [--flags]


  COMMANDS

    create [--flags]  Create a draft campaign
    get <id>          Get a campaign
    list [--flags]    List campaigns

  FLAGS

    --debug           Print API request details before sending
    -h --help         Help for campaigns
    -o --output       Output format (text, json) (text)
    -t --team         Team key name to use
➜ task -- email-messages -h

  Manage email messages

  USAGE


    loops email-messages [command] [--flags]


  COMMANDS

    get <id>               Get an email message
    update <id> [--flags]  Update a draft email message

  FLAGS

    --debug                Print API request details before sending
    -h --help              Help for email-messages
    -o --output            Output format (text, json) (text)
    -t --team              Team key name to use

@notnmeyer notnmeyer self-assigned this Apr 22, 2026
@notnmeyer notnmeyer requested a review from nalanj April 22, 2026 14:50
Copy link
Copy Markdown

@nalanj nalanj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting the underlying API design here is not good, but you can't do anything about it.

@notnmeyer notnmeyer merged commit eb53b30 into main Apr 23, 2026
2 checks passed
@notnmeyer notnmeyer deleted the chore/content-api branch April 23, 2026 13:44
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