Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# api.acmcsuf.com

ACM at CSUF club API for managing events, announcements, forms, and other services! Keep reading for information on setting up this project locally, and see the [contributor guide](./docs/CONTRIBUTING.md) and [`docs/`](./docs) for more information on using and contributing to this project.
ACM at CSUF club API for managing events, forms, and other services! Keep reading for information on setting up this project locally, and see the [contributor guide](./docs/CONTRIBUTING.md) and [`docs/`](./docs) for more information on using and contributing to this project.

---

Expand Down Expand Up @@ -45,7 +45,6 @@ Usage:
acmcsuf-cli [command]

Available Commands:
announcements Manage ACM CSUF's Announcements
completion Generate the autocompletion script for the specified shell
events A command to manage events.
help Help about any command
Expand Down
22 changes: 1 addition & 21 deletions fixtures/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This directory contains JSON payloads for testing the ACM CSUF API endpoints.

Fixtures are named using the pattern: `{resource}_{action}_{variant}.json`

- `resource`: The API resource (event, announcement, officer, tier, position)
- `resource`: The API resource (event, officer, tier, position)
- `action`: The operation (create, update, delete)
- `variant`: Optional descriptor for the specific test case

Expand All @@ -23,17 +23,6 @@ Fixtures are named using the pattern: `{resource}_{action}_{variant}.json`
- `event_update_location.json` - Update only the location field
- `event_update_full.json` - Full update with all fields

## Announcements

### Create Operations
- `announcement_create_basic.json` - Basic announcement with Discord integration
- `announcement_create.json` - Public announcement with full Discord details
- `announcement_create_private.json` - Private announcement for officers
- `announcement_create_no_discord.json` - Website-only announcement without Discord

### Update Operations
- `announcement_update.json` - Update announcement visibility and Discord info

## Board Members

### Officers
Expand Down Expand Up @@ -126,15 +115,6 @@ xh GET :8080/v1/events
# Filter events by host
xh GET :8080/v1/events host==ACM

# Create an announcement
xh POST :8080/v1/announcements < fixtures/announcement_create.json

# Update an announcement
xh PUT :8080/v1/announcements/spring-kickoff-2024 < fixtures/announcement_update.json

# Delete an announcement
xh DELETE :8080/v1/announcements/spring-kickoff-2024

# Create an officer
xh POST :8080/v1/board/officers < fixtures/officer_create.json

Expand Down
13 changes: 0 additions & 13 deletions fixtures/announcement_create.json

This file was deleted.

13 changes: 0 additions & 13 deletions fixtures/announcement_create_basic.json

This file was deleted.

13 changes: 0 additions & 13 deletions fixtures/announcement_create_no_discord.json

This file was deleted.

13 changes: 0 additions & 13 deletions fixtures/announcement_create_private.json

This file was deleted.

16 changes: 0 additions & 16 deletions fixtures/announcement_update.json

This file was deleted.

Loading
Loading