Skip to content

Add character relationship API #61

Description

@jing2003

Acceptance criteria

  • Implement a route that lists a character's relationships.
  • Return both outgoing and incoming relationships with clear character information.
  • Implement a route that creates a relationship between two characters.
  • Implement routes that update and delete a relationship.
  • Validate the relationship type and optional description.
  • Confirm that both characters belong to the same story project.
  • Prevent self-relationships and duplicate relationship records.
  • Return controlled responses for missing characters and relationships.

Metadata

Metadata

Assignees

Labels

customlayer: backendAPI routes, Database schemas, seeds, and server logic.

Type

No type

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions